]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf test cs-etm: Test process attribution
authorJames Clark <james.clark@linaro.org>
Tue, 9 Jun 2026 14:40:09 +0000 (15:40 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 10 Jun 2026 21:55:48 +0000 (18:55 -0300)
commitbe7ef892f306fc9bb07e2d1a0699de14159fe219
tree7a0ddd534f33423024a2ab1834aa1c975a6778c6
parent4cb5dd0379999af455941ab87d0b30c2ba7d9d66
perf test cs-etm: Test process attribution

Run the context switch workload on one CPU and trace it to test that
symbols are attributed to the correct process and that the attribution
changes at the exact point that the context switch happened.

Reviewed-by: Leo Yan <leo.yan@arm.com>
Signed-off-by: James Clark <james.clark@linaro.org>
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/context_switch_thread.sh [new file with mode: 0755]