mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-30 20:31:13 -08:00
The profiler chockes on (SETF ...) function names and on symbol names without package name (stassats)
This commit is contained in:
parent
1e86f06fcf
commit
bcfc297992
1 changed files with 5 additions and 2 deletions
|
|
@ -250,7 +250,7 @@ extern ECL_API size_t GC_get_total_bytes();
|
|||
(legal-fun-name-or-type-error name)
|
||||
;; Then we map onto it.
|
||||
(funcall function name))
|
||||
(string (let ((package (find-package name)))
|
||||
(string (let ((package (si:coerce-to-package name)))
|
||||
(do-symbols (symbol package)
|
||||
(when (eq (symbol-package symbol) package)
|
||||
(when (and (fboundp symbol)
|
||||
|
|
@ -411,7 +411,10 @@ Lisp process."
|
|||
"~%These functions were not called:~%~{~<~%~:; ~S~>~}~%"
|
||||
(sort no-call-name-list #'string<
|
||||
:key (lambda (name)
|
||||
(symbol-name name)))))
|
||||
(symbol-name
|
||||
(if (consp name)
|
||||
(cadr name)
|
||||
name))))))
|
||||
|
||||
(values)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue