[PATCH v4 0/3] Add metric value validation test

From: Weilin Wang
Date: Sun Jun 18 2023 - 13:28:27 EST


This is the fourth version of metric value validation tests.

We made the following changes from v3 to v4:
- Update search string from "Intel" to "GenuineIntel" to skip test on non-Intel
platform.

v3: https://lore.kernel.org/lkml/20230614203824.2895333-1-weilin.wang@xxxxxxxxx/

Weilin Wang (3):
perf test: Add metric value validation test
perf test: Add skip list for metrics known would fail
perf test: Rerun failed metrics with longer workload

.../tests/shell/lib/perf_metric_validation.py | 574 ++++++++++++++++++
.../lib/perf_metric_validation_rules.json | 398 ++++++++++++
tools/perf/tests/shell/stat_metrics_values.sh | 30 +
3 files changed, 1002 insertions(+)
create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation.py
create mode 100644 tools/perf/tests/shell/lib/perf_metric_validation_rules.json
create mode 100755 tools/perf/tests/shell/stat_metrics_values.sh


base-commit: 7cdda6998ee55140e64894e25048df7157344fc9
--
2.39.1