]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test workload: Add thread count argument to thloop
authorIan Rogers <irogers@google.com>
Tue, 28 Oct 2025 15:38:20 +0000 (08:38 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Tue, 28 Oct 2025 23:59:58 +0000 (16:59 -0700)
commit352864787458d31420b446154a165145f150d1f0
tree68a182fa2dab61421e11628202c5849968ae8973
parent2fee899c068c159e486e62623afe9e2a4975bd79
perf test workload: Add thread count argument to thloop

Allow the number of threads for the thloop workload to be increased
beyond the normal 2. Add error checking to the parsed time and thread
count values.

Signed-off-by: Ian Rogers <irogers@google.com>
Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/workloads/thloop.c