mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 03:53:37 +02:00
perf test stat: Update std_output testing metric expectations
Make the expectations match json metrics rather than the previous hard coded ones. Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
This commit is contained in:
parent
b1cb2b76bd
commit
083ae6c1fb
|
|
@ -12,8 +12,8 @@ set -e
|
|||
stat_output=$(mktemp /tmp/__perf_test.stat_output.std.XXXXX)
|
||||
|
||||
event_name=(cpu-clock task-clock context-switches cpu-migrations page-faults stalled-cycles-frontend stalled-cycles-backend cycles instructions branches branch-misses)
|
||||
event_metric=("CPUs utilized" "CPUs utilized" "/sec" "/sec" "/sec" "frontend cycles idle" "backend cycles idle" "GHz" "insn per cycle" "/sec" "of all branches")
|
||||
skip_metric=("stalled cycles per insn" "tma_" "retiring" "frontend_bound" "bad_speculation" "backend_bound" "TopdownL1" "percent of slots")
|
||||
event_metric=("CPUs_utilized" "CPUs_utilized" "cs/sec" "migrations/sec" "faults/sec" "frontend_cycles_idle" "backend_cycles_idle" "GHz" "insn_per_cycle" "/sec" "branch_miss_rate")
|
||||
skip_metric=("tma_" "TopdownL1")
|
||||
|
||||
cleanup() {
|
||||
rm -f "${stat_output}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user