From 2bd40b0bf930459f0fc3dbcbde3ac2f40ff56e4e Mon Sep 17 00:00:00 2001 From: Karl Palsson Date: Wed, 22 Nov 2023 09:57:06 +0000 Subject: target: Increase maximum profile sample count to 1000000 Change-Id: I38276dd1af011ce5781b0264b7cbb08c31a0a2ad Signed-off-by: Paul Reimer Signed-off-by: Karl Palsson Reviewed-on: https://review.openocd.org/c/openocd/+/6099 Tested-by: jenkins Reviewed-by: Antonio Borneo --- src/target/target.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/target.c') diff --git a/src/target/target.c b/src/target/target.c index 2703f7b..d728332 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; -- cgit v1.1