]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
perf test stat: Ignore failures in Default[234] metricgroups
authorIan Rogers <irogers@google.com>
Tue, 11 Nov 2025 21:22:00 +0000 (13:22 -0800)
committerNamhyung Kim <namhyung@kernel.org>
Wed, 12 Nov 2025 00:48:35 +0000 (16:48 -0800)
The Default[234] metric groups may contain unsupported legacy
events. Allow those metric groups to fail.

Signed-off-by: Ian Rogers <irogers@google.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
tools/perf/tests/shell/stat_all_metricgroups.sh

index c6d61a4ac3e7d3d7000dbed1e6c0863996d96237..1400880ec01f82670b508e4979b04fa730a87cd7 100755 (executable)
@@ -37,6 +37,9 @@ do
       then
         err=2 # Skip
       fi
+    elif [[ "$m" == @(Default2|Default3|Default4) ]]
+    then
+      echo "Ignoring failures in $m that may contain unsupported legacy events"
     else
       echo "Metric group $m failed"
       echo $result