forked from auracaster/openocd
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:
committed by
Antonio Borneo
parent
0ce08ec858
commit
2bd40b0bf9
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user