]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test cs-etm: Replace unroll loop thread with deterministic decode test
authorJames Clark <james.clark@linaro.org>
Tue, 9 Jun 2026 14:40:11 +0000 (15:40 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 Jun 2026 21:55:48 +0000 (18:55 -0300)
commitccf62a267a660cbc2c5ca0208a94fee4ef256926
tree6a424f448abd68161519de0697ab2f46bc578623
parent3fdf30607e28290d914c44b035f35a9a92512562
perf test cs-etm: Replace unroll loop thread with deterministic decode test

Testing a long sequence without branches seems like it would be better
as a decoder unit test, and this test doesn't test decoding either, so
it's not clear what bugs this is trying to catch.

The new deterministic workload has somewhat long sequences when built
unoptimized, and we can always increase them later if we want to. But
now we test that decoding always gives the same result for the same
sequence of code which we've never had before.

Signed-off-by: James Clark <james.clark@linaro.org>
Tested-by: Leo Yan <leo.yan@arm.com>
Cc: Amir Ayupov <aaupov@meta.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Mike Leach <mike.leach@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paschalis Mpeis <Paschalis.Mpeis@arm.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/tests/shell/coresight/deterministic.sh [new file with mode: 0755]
tools/perf/tests/shell/coresight/unroll_loop_thread_10.sh [deleted file]