xref: /openbmc/linux/tools/perf/tests/shell/stat_all_metricgroups.sh (revision eb96b740192b2a09720aaed8a8c132e6a29d5bdb)
1#!/bin/sh
2# perf all metricgroups test
3# SPDX-License-Identifier: GPL-2.0
4
5set -e
6
7for m in $(perf list --raw-dump metricgroups); do
8  echo "Testing $m"
9  perf stat -M "$m" -a true
10done
11
12exit 0
13