From b1beaa36e2d6ae6ffdf5bddbaae6ac165f984510 Mon Sep 17 00:00:00 2001 From: Paul Fertser Date: Wed, 16 Apr 2014 14:37:36 +0400 Subject: [PATCH] doc: document [start end] parameters of "profile" command Change-Id: I56561b08304e5b854a67b06ab6b9cee7a24919b2 Signed-off-by: Paul Fertser Reviewed-on: http://openocd.zylin.com/2115 Tested-by: jenkins --- doc/openocd.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/openocd.texi b/doc/openocd.texi index 3977454bb..fd25e8703 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}