tweaks to statprof
authorAndy Wingo <wingo@pobox.com>
Sun, 20 Dec 2009 22:17:05 +0000 (23:17 +0100)
committerAndy Wingo <wingo@pobox.com>
Sun, 20 Dec 2009 23:01:49 +0000 (00:01 +0100)
commitc165c50d072105c82c9b15059e756a2cba353dbb
tree4b15450607105301f82186341a2fb0818430f35e
parent47f3ce525efcf2aa30abbae0374c19c9f8960789
tweaks to statprof

* module/statprof.scm (make-call-data): Change so that call-data holds
  the proc, not its name. Remove set-call-data-name!.
  (get-call-data): Adapt caller.
  (sample-stack-procs): Always sample procedures on the stack, even
  anonymous ones.
  (profile-signal-handler): Fix stack cutting to work with compiled
  statprof.scm.
  (count-call): Always count calls, even to anonymous procedures.
  (statprof-call-data->stats): Use call-data-printable for printing the
  call data.
  (statprof-display-anomolies): Fix a couple longstanding bugs caught by
  compiler warnings.
module/statprof.scm