diff options
| author | 2026-10-13 14:27:19 -0300 | |
|---|---|---|
| committer | 2026-10-17 10:30:19 -0300 | |
| commit | 7ebd36cf9c95e519b7e2e4d91bff65375db22d21 (patch) | |
| tree | f74b3631f4645b71145647965f608a009a16a37e /scripts/Makefile.thinlto | |
| parent | perf test attr: Ignore the dummy tracking event and the terms it carries (diff) | |
perf test attr: Leave out the events of the other core PMUs
On a hybrid machine the default stat metrics are opened on each core PMU,
and the events of the other one have their own encodings: on an i7-14700K
cpu_atom (type 10) opens UOPS_RETIRED.ALL, config 194, which the
expectations, written for cpu_core (type 4), don't name:
expected type=4, got 10
expected config=209|391, got 194
The test already masks the core PMU type out of 'config' for the legacy
events, but raw events keep their type and encoding, so leave out the
events of the core PMUs no expectation names, like the dummy tracking
event. Core PMUs are found as perf finds them: 'cpu' or 'cpum_cf', or a
PMU with a 'cpus' file in sysfs. Nothing is left out unless an
expectation names a core PMU, so single core PMU machines and the tests
with only legacy expectations are not affected.
Reviewed-by: Ian Rogers <irogers@google.com>
Tested-by: Ian Rogers <irogers@google.com>
Assisted-by: LLM
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
