1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 03:40:34 +02:00

add a statprof fixme

* module/statprof.scm: Add a fixme.
This commit is contained in:
Andy Wingo 2014-02-21 22:18:02 +01:00
parent 4d0c358b4c
commit d20dd74eca

View file

@ -248,6 +248,11 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; SIGPROF handler
;; FIXME: Instead of this messing about with hash tables and
;; frame-procedure, just record the stack of return addresses into a
;; growable vector, and resolve them to procedures when analyzing
;; instead of at collection time.
;;
(define (sample-stack-procs stack)
(let ((stacklen (stack-length stack))
(hit-count-call? #f)