diff options
| author | Ian Rogers <irogers@google.com> | 2026-03-18 16:45:56 -0700 |
|---|---|---|
| committer | Namhyung Kim <namhyung@kernel.org> | 2026-03-19 14:42:45 -0700 |
| commit | d84db579d75fd32ea6dd7814c8cf6b1c8b45ac05 (patch) | |
| tree | 71e652482b4404897ae96894834c553e3920f723 /tools/perf/scripts/python/task-analyzer.py | |
| parent | a90407a5a89a29f3c4af89e55afe4d0489b8a81c (diff) | |
perf evsel: Improve falling back from cycles
Switch to using evsel__match rather than comparing perf_event_attr
values, this is robust on hybrid architectures.
Ensure evsel->pmu matches the evsel->core.attr.
Remove exclude bits that get set in other fallback attempts when
switching the event.
Log the event name with modifiers when switching the event on fallback.
Signed-off-by: Ian Rogers <irogers@google.com>
Tested-by: Thomas Richter <tmricht@linux.ibm.com>
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
