Pass state around statprof in more places
authorAndy Wingo <wingo@pobox.com>
Sat, 22 Feb 2014 14:09:54 +0000 (15:09 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 22 Feb 2014 14:09:54 +0000 (15:09 +0100)
commite4a8775ddb357c63b91ef4bcfc9e582107b8d832
tree3460dd1fe4634a50ed23c4d12a152ba9bf022a99
parente70a42d4c9401f645cfd4554c27c8b0b1cbee405
Pass state around statprof in more places

* module/statprof.scm (get-call-data, sample-stack-procs): Take the
  state as an argument.
  (profile-signal-handler, count-call, statprof-proc-call-data)
  (gcprof): Adapt.
module/statprof.scm