]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf test stat: Additional topdown grouping tests
authorIan Rogers <irogers@google.com>
Fri, 7 Mar 2025 02:39:06 +0000 (18:39 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 12 Mar 2025 02:05:04 +0000 (19:05 -0700)
commit5b562763d78a99e26054268003e3d0952e3ea89f
treeaf74443c19255b8dd93cc1b03703275beb7f7908
parent16dd43dfd6e17a354e25016d6183266f4532b705
perf test stat: Additional topdown grouping tests

Add a loop and helper function to avoid repetition, the loop uses
arrays so switch the shell to bash. Add additional topdown group tests
where a topdown event needs to be moved beyond others and the slots
event isn't first in the target group. This replicates issues that
occur on hybrid systems where the other events are for the cpu_atom
PMU. Test with both PMU and software events. Place the slots event
later in the event list.

Signed-off-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250307023906.1135613-5-irogers@google.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/stat.sh