X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fopenocd.texi;h=fd25e870368512bb3a851b5f1ef921a12772e61a;hp=3977454bba8b7dae71b780cb222b3cf2df06e708;hb=b1beaa36e2d6ae6ffdf5bddbaae6ac165f984510;hpb=d92a2ac3307809fb750510f26bd843e4485af679 diff --git a/doc/openocd.texi b/doc/openocd.texi index 3977454bba..fd25e87036 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}