Variable: elp-not-profilable

elp-not-profilable is a variable defined in elp.el.gz.

Value

(called-interactively-p error call-interactively apply current-time + byte-code-function-p functionp byte-code subrp indirect-function fboundp)

Documentation

List of functions that cannot be profiled.

Those functions are used internally by the profiling code and profiling them would thus lead to infinite recursion.

Source Code

;; Defined in /usr/src/emacs/lisp/emacs-lisp/elp.el.gz
(defvar elp-not-profilable
  ;; First, the functions used inside each instrumented function:
  '(called-interactively-p
    ;; Then the functions used by the above functions.  I used
    ;; (delq nil (mapcar (lambda (x) (and (symbolp x) (fboundp x) x))
    ;;                   (aref (symbol-function 'elp-wrapper) 2)))
    ;; to help me find this list.
    error call-interactively apply current-time
    ;; Andreas Politz reports problems profiling these (Bug#4233):
    + byte-code-function-p functionp byte-code subrp
    indirect-function fboundp)
  "List of functions that cannot be profiled.
Those functions are used internally by the profiling code and profiling
them would thus lead to infinite recursion.")