Improve documentation of profiler commands

* doc/lispref/debugging.texi (Profiling): Document more commands.
Improve indexing.  (Bug#68693)
This commit is contained in:
Eli Zaretskii 2024-01-24 21:34:16 +02:00
parent fb4cf0ab46
commit 5483a1df99

View 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 function. Pressing @kbd{@key{RET}} again will collapse back to the
original state. original state.
Press @kbd{j} or @kbd{mouse-2} to jump to the definition of a function @findex profiler-report-find-entry
at point. Press @kbd{d} to view a function's documentation. You can @findex profiler-report-describe-entry
save a profile to a file using @kbd{C-x C-w}. You can compare two @findex profiler-find-profile
profiles using @kbd{=}. @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? @c FIXME reversed calltree?