diff options
| author | Ian Rogers <[email protected]> | 2025-04-03 19:43:36 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2025-05-12 17:18:16 +0000 |
| commit | 168c7b509109fe26cfcc21650b130ec384ece2aa (patch) | |
| tree | cee22bf2797bb2c5dae783b3dec2f5a6a4e8fbec /tools/perf/tests/shell/lib/perf_metric_validation.py | |
| parent | perf stat: Use counter cpumask to skip zero values (diff) | |
| download | kernel-168c7b509109fe26cfcc21650b130ec384ece2aa.tar.gz kernel-168c7b509109fe26cfcc21650b130ec384ece2aa.zip | |
perf parse-events: Set is_pmu_core for legacy hardware events
Also set the CPU map to all online CPU maps.
This is done so the behavior of legacy hardware and hardware cache
events better matches that of sysfs and JSON events during
__perf_evlist__propagate_maps().
Fix missing cpumap put in "Synthesize attr update" test.
Signed-off-by: Ian Rogers <[email protected]>
Tested-by: Kan Liang <[email protected]>
Cc: Adrian Hunter <[email protected]>
Cc: Alexander Shishkin <[email protected]>
Cc: Andi Kleen <[email protected]>
Cc: Dominique Martinet <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: James Clark <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Leo Yan <[email protected]>
Cc: Mark Rutland <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Weilin Wang <[email protected]>
Cc: Yicong Yang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/tests/shell/lib/perf_metric_validation.py')
0 files changed, 0 insertions, 0 deletions
