doc: document [start end] parameters of "profile" command
authorPaul Fertser <fercerpav@gmail.com>
Wed, 16 Apr 2014 10:37:36 +0000 (14:37 +0400)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Mon, 5 May 2014 20:24:46 +0000 (20:24 +0000)
Change-Id: I56561b08304e5b854a67b06ab6b9cee7a24919b2
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2115
Tested-by: jenkins
doc/openocd.texi

index 3977454bba8b7dae71b780cb222b3cf2df06e708..fd25e870368512bb3a851b5f1ef921a12772e61a 100644 (file)
@@ -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}