]> git.eshelyaron.com Git - emacs.git/commitdiff
Improve documentation of profiler commands
authorEli Zaretskii <eliz@gnu.org>
Wed, 24 Jan 2024 19:34:16 +0000 (21:34 +0200)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:06:36 +0000 (21:06 +0100)
* doc/lispref/debugging.texi (Profiling): Document more commands.
Improve indexing.  (Bug#68693)

(cherry picked from commit 5483a1df99c4c36a96435e1c81ffd021f9355af9)

doc/lispref/debugging.texi

index 774fcaf68bf7ad1a955b7d2e99e86fc3cfd8bd33..47851be0f7c0183b7b02e50877ec5fa1fa97ca77 100644 (file)
@@ -1093,10 +1093,19 @@ argument (@kbd{C-u @key{RET}}) to see the whole call tree below a
 function.  Pressing @kbd{@key{RET}} again will collapse back to the
 original state.
 
-Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function
-at point.  Press @kbd{d} to view a function's documentation.  You can
-save a profile to a file using @kbd{C-x C-w}.  You can compare two
-profiles using @kbd{=}.
+@findex profiler-report-find-entry
+@findex profiler-report-describe-entry
+@findex profiler-find-profile
+@findex profiler-find-profile-other-window
+@findex profiler-report-compare-profile
+Press @kbd{j} (@code{profiler-report-find-entry}) or @kbd{mouse-2} to
+jump to the definition of a function at point.  Press @kbd{d}
+(@code{profiler-report-describe-entry}) to view a function's
+documentation.  You can save a profile to a file using @kbd{C-x C-w}
+(@code{profiler-report-write-profile}) and read a saved profile with
+@w{@kbd{M-x profiler-find-profile}} or @w{@kbd{M-x
+profiler-find-profile-other-window}}.  You can compare two profiles
+using @kbd{=} (@code{profiler-report-compare-profile}).
 
 @c FIXME reversed calltree?