mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
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
@ -103,8 +103,13 @@
|
||||
|
||||
;;; Backtraces
|
||||
|
||||
(defun profiler-fixup-entry (entry)
|
||||
(if (symbolp entry)
|
||||
entry
|
||||
(substring-no-properties (help-fns-function-name entry))))
|
||||
|
||||
(defun profiler-fixup-backtrace (backtrace)
|
||||
(apply #'vector (mapcar #'help-fns-function-name backtrace)))
|
||||
(apply #'vector (mapcar #'profiler-fixup-entry backtrace)))
|
||||
|
||||
|
||||
;;; Logs
|
||||
|
Loading…
Reference in New Issue
Block a user