summaryrefslogtreecommitdiff
path: root/tools/perf/tests/shell/lib/stat_output.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/shell/lib/stat_output.sh')
-rw-r--r--tools/perf/tests/shell/lib/stat_output.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/shell/lib/stat_output.sh b/tools/perf/tests/shell/lib/stat_output.sh
index c2ec7881ec1d..3c36e80fe422 100644
--- a/tools/perf/tests/shell/lib/stat_output.sh
+++ b/tools/perf/tests/shell/lib/stat_output.sh
@@ -156,7 +156,7 @@ check_metric_only()
echo "[Skip] CPU-measurement counter facility not installed"
return
fi
- perf stat --metric-only $2 -e instructions,cycles true
+ perf stat --metric-only $2 -M page_faults_per_second true
commachecker --metric-only
echo "[Success]"
}