target: Increase maximum profile sample count to 1000000
Change-Id: I38276dd1af011ce5781b0264b7cbb08c31a0a2ad Signed-off-by: Paul Reimer <paul@zaber.com> Signed-off-by: Karl Palsson <karlp@tweak.au> Reviewed-on: https://review.openocd.org/c/openocd/+/6099 Tested-by: jenkins Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
0ce08ec858
commit
2bd40b0bf9
|
@ -9492,7 +9492,7 @@ TCP/IP port 9090.
|
|||
@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 samples in @file{filename} using ``gmon.out''
|
||||
Saves up to 1000000 samples in @file{filename} using ``gmon.out''
|
||||
format. Optional @option{start} and @option{end} parameters allow to
|
||||
limit the address range.
|
||||
@end deffn
|
||||
|
|
|
@ -4298,7 +4298,7 @@ COMMAND_HANDLER(handle_profile_command)
|
|||
if ((CMD_ARGC != 2) && (CMD_ARGC != 4))
|
||||
return ERROR_COMMAND_SYNTAX_ERROR;
|
||||
|
||||
const uint32_t MAX_PROFILE_SAMPLE_NUM = 10000;
|
||||
const uint32_t MAX_PROFILE_SAMPLE_NUM = 1000000;
|
||||
uint32_t offset;
|
||||
uint32_t num_of_samples;
|
||||
int retval = ERROR_OK;
|
||||
|
|
Loading…
Reference in New Issue