]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf test: Add timeout to datasym workload
authorNamhyung Kim <namhyung@kernel.org>
Tue, 4 Mar 2025 02:28:36 +0000 (18:28 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 5 Mar 2025 17:17:01 +0000 (09:17 -0800)
commitf04c7ef35256beea57a598a7ea06dd2242ae9ae6
tree49430285db6484d35f150cf647b583d9f3600c41
parent15bcfb96d0ddbc1b131274ad0ec6b1fe9cc8f79a
perf test: Add timeout to datasym workload

Unlike others it has an infinite loop that make it annoying to call.
Make it finish after 1 second and handle command-line argument to change
the setting.

Reviewed-by: Leo Yan <leo.yan@arm.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Tested-by: Thomas Falcon <thomas.falcon@intel.com>
Cc: Thomas Richter <tmricht@linux.ibm.com>
Cc: Leo Yan <leo.yan@arm.com>
Link: https://lore.kernel.org/r/20250304022837.1877845-6-namhyung@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/workloads/datasym.c