diff options
| author | 2026-10-09 14:55:27 -0300 | |
|---|---|---|
| committer | 2026-10-17 10:30:19 -0300 | |
| commit | 8bc3e1f6c5e60d2adb4bc119fc87b4a141f9bc5a (patch) | |
| tree | 0afaae1ab68b13a57a773d48c3ad6c1ef44c3811 /scripts/Makefile.thinlto | |
| parent | perf test attr: Accept either sample id bit perf asks for (diff) | |
perf test attr: Ignore the dummy tracking event and the terms it carries
With more than one core PMU the requested events can't cover all the
CPUs, each cluster has its own PMU, so perf opens the software dummy
event to carry the tracking terms (mmap, comm, task, mmap_data), leaving
the requested events without them:
expected mmap=1, got 0
expected comm=1, got 0
expected task=1, got 0
That dummy event is not part of what the expectations are about, so
leave it out of the comparison, unless the expectations ask for one,
like system-wide-dummy and test-record-dummy-C0 do.
And when perf used it to carry the tracking terms, those terms can't be
matched on the requested events, leave them out of the match as well.
The terms are left out only where the dropped dummy actually carried them,
from the sample_type it was opened with, a dummy that didn't is no reason
to stop verifying them.
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
