aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPaul Fertser <fercerpav@gmail.com>2014-04-16 14:37:36 +0400
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>2014-05-05 20:24:46 +0000
commitb1beaa36e2d6ae6ffdf5bddbaae6ac165f984510 (patch)
tree67e29fa4ca328a4ded5e26c7c01d15f98e0db2f6 /doc
parentd92a2ac3307809fb750510f26bd843e4485af679 (diff)
downloadriscv-openocd-b1beaa36e2d6ae6ffdf5bddbaae6ac165f984510.zip
riscv-openocd-b1beaa36e2d6ae6ffdf5bddbaae6ac165f984510.tar.gz
riscv-openocd-b1beaa36e2d6ae6ffdf5bddbaae6ac165f984510.tar.bz2
doc: document [start end] parameters of "profile" command
Change-Id: I56561b08304e5b854a67b06ab6b9cee7a24919b2 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2115 Tested-by: jenkins
Diffstat (limited to 'doc')
-rw-r--r--doc/openocd.texi6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/openocd.texi b/doc/openocd.texi
index 3977454..fd25e87 100644
--- a/doc/openocd.texi
+++ b/doc/openocd.texi
@@ -6723,10 +6723,12 @@ using @var{mask} to mark ``don't care'' fields.
@section Misc Commands
@cindex profiling
-@deffn Command {profile} seconds filename
+@deffn Command {profile} seconds filename [start end]
Profiling samples the CPU's program counter as quickly as possible,
which is useful for non-intrusive stochastic profiling.
-Saves up to 10000 sampines in @file{filename} using ``gmon.out'' format.
+Saves up to 10000 samples in @file{filename} using ``gmon.out''
+format. Optional @option{start} and @option{end} parameters allow to
+limit the address range.
@end deffn
@deffn Command {version}