Function: elp-instrument-package
elp-instrument-package is an autoloaded, interactive and byte-compiled
function defined in elp.el.gz.
Signature
(elp-instrument-package PREFIX)
Documentation
Instrument for profiling, all functions which start with PREFIX.
For example, to instrument all ELP functions, do the following:
M-x elp-instrument-package (elp-instrument-package) RET elp- RET
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/emacs-lisp/elp.el.gz
;;;###autoload
(defun elp-instrument-package (prefix)
"Instrument for profiling, all functions which start with PREFIX.
For example, to instrument all ELP functions, do the following:
\\[elp-instrument-package] RET elp- RET"
(interactive
(list (completing-read "Prefix of package to instrument: "
obarray 'elp-profilable-p)))
(if (zerop (length prefix))
(error "Instrumenting all Emacs functions would render Emacs unusable"))
(elp-instrument-list
(mapcar
'intern
(all-completions prefix obarray 'elp-profilable-p))))