linux-zen-desktop/tools/perf/tests/shell/stat_all_metricgroups.sh

13 lines
194 B
Bash
Raw Normal View History

2023-08-30 17:31:07 +02:00
#!/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