From: openocd-gerrit <ope...@us...> - 2023-12-10 13:34:21
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Main OpenOCD repository". The branch, master has been updated via 2bd40b0bf930459f0fc3dbcbde3ac2f40ff56e4e (commit) from 0ce08ec858add3e26ba04536b87fad680561fe50 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2bd40b0bf930459f0fc3dbcbde3ac2f40ff56e4e Author: Karl Palsson <ka...@tw...> Date: Wed Nov 22 09:57:06 2023 +0000 target: Increase maximum profile sample count to 1000000 Change-Id: I38276dd1af011ce5781b0264b7cbb08c31a0a2ad Signed-off-by: Paul Reimer <pa...@za...> Signed-off-by: Karl Palsson <ka...@tw...> Reviewed-on: https://review.openocd.org/c/openocd/+/6099 Tested-by: jenkins Reviewed-by: Antonio Borneo <bor...@gm...> diff --git a/doc/openocd.texi b/doc/openocd.texi index db7315fe4..6c6519d62 100644 --- a/doc/openocd.texi +++ b/doc/openocd.texi @@ -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 diff --git a/src/target/target.c b/src/target/target.c index 2703f7b00..d7283324f 100644 --- a/src/target/target.c +++ b/src/target/target.c @@ -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; ----------------------------------------------------------------------- Summary of changes: doc/openocd.texi | 2 +- src/target/target.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) hooks/post-receive -- Main OpenOCD repository |