Fix dumping of Lisp profiles
* lisp/profiler.el (profiler-fixup-entry): New function. (profiler-fixup-backtrace): Use it. (Bug#72559)
This commit is contained in:
parent
bfe07eca59
commit
7b752a93a4
1 changed files with 6 additions and 1 deletions
|
@ -103,8 +103,13 @@
|
||||||
|
|
||||||
;;; Backtraces
|
;;; Backtraces
|
||||||
|
|
||||||
|
(defun profiler-fixup-entry (entry)
|
||||||
|
(if (symbolp entry)
|
||||||
|
entry
|
||||||
|
(substring-no-properties (help-fns-function-name entry))))
|
||||||
|
|
||||||
(defun profiler-fixup-backtrace (backtrace)
|
(defun profiler-fixup-backtrace (backtrace)
|
||||||
(apply #'vector (mapcar #'help-fns-function-name backtrace)))
|
(apply #'vector (mapcar #'profiler-fixup-entry backtrace)))
|
||||||
|
|
||||||
|
|
||||||
;;; Logs
|
;;; Logs
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue