Function: profiler-format-entry
profiler-format-entry is a byte-compiled function defined in
profiler.el.gz.
Signature
(profiler-format-entry ENTRY)
Documentation
Format ENTRY in human readable string.
ENTRY would be a function name of a function itself.
Source Code
;; Defined in /usr/src/emacs/lisp/profiler.el.gz
;;; Entries
(defun profiler-format-entry (entry)
"Format ENTRY in human readable string.
ENTRY would be a function name of a function itself."
(cond ((memq (car-safe entry) '(closure lambda))
(format "#<lambda %#x>" (sxhash entry)))
((byte-code-function-p entry)
(format "#<compiled %#x>" (sxhash entry)))
((or (subrp entry) (symbolp entry) (stringp entry))
(format "%s" entry))
(t
(format "#<unknown %#x>" (sxhash entry)))))