[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230614203824.2895333-1-weilin.wang@intel.com>
Date: Wed, 14 Jun 2023 13:38:21 -0700
From: Weilin Wang <weilin.wang@...el.com>
To: Peter Zijlstra <peterz@...radead.org>,
Ingo Molnar <mingo@...hat.com>,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Jiri Olsa <jolsa@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
Ian Rogers <irogers@...gle.com>,
linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: Weilin Wang <weilin.wang@...el.com>,
Kan Liang <kan.liang@...ux.intel.com>,
Samantha Alt <samantha.alt@...el.com>,
Perry Taylor <perry.taylor@...el.com>,
Caleb Biggers <caleb.biggers@...el.com>
Subject: [PATCH v3 0/3] Add metric value validation test
This is the third version of metric value validation tests.
We made the following changes from v2 to v3:
- Add explicit data type casting to float when parsing perf json output [Ian]
- Add an limit of rerun up to 20 failed metrics
v2: https://lore.kernel.org/lkml/20230609162625.100897-1-weilin.wang@intel.com/
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
Powered by blists - more mailing lists