mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-01 04:10:18 +02:00
add a statprof fixme
* module/statprof.scm: Add a fixme.
This commit is contained in:
parent
4d0c358b4c
commit
d20dd74eca
1 changed files with 5 additions and 0 deletions
|
@ -248,6 +248,11 @@
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
;; SIGPROF handler
|
;; 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)
|
(define (sample-stack-procs stack)
|
||||||
(let ((stacklen (stack-length stack))
|
(let ((stacklen (stack-length stack))
|
||||||
(hit-count-call? #f)
|
(hit-count-call? #f)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue