linuxdebug/tools/perf/tests/shell/stat_all_metricgroups.sh

13 lines
194 B
Bash
Executable File

#!/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