]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf test: Update all metrics test like metricgroups test
authorNamhyung Kim <namhyung@kernel.org>
Fri, 18 Oct 2024 20:43:06 +0000 (13:43 -0700)
committerNamhyung Kim <namhyung@kernel.org>
Sat, 19 Oct 2024 16:34:56 +0000 (09:34 -0700)
commite2cb1db7daf8b7863aeec07bb574d3fae54518e6
tree742498ce4496bb36700c85fb055a8227eaa0b6f6
parent5455d89bf3da85176606ff861f4178f6bea648ba
perf test: Update all metrics test like metricgroups test

Like in the metricgroup tests, it should check the permission first and
then skip relevant failures accordingly.

Also it needs to try again with the system wide flag properly.  On the
second round, check if the result has the metric name because other
failure cases are checked in the first round already.

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