summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/stat_all_metricgroups.sh
blob: cb35e488809ae6c4d095f3e7c86af39e6c9a7a9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# perf all metricgroups test
# SPDX-License-Identifier: GPL-2.0

set -e

for m in $(perf list --raw-dump metricgroups); do
  echo "Testing $m"
  perf stat -M "$m" -a true
done

exit 0