summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-03-18 16:45:56 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-03-19 14:42:45 -0700
commitd84db579d75fd32ea6dd7814c8cf6b1c8b45ac05 (patch)
tree71e652482b4404897ae96894834c553e3920f723 /tools/perf/scripts/python/export-to-postgresql.py
parenta90407a5a89a29f3c4af89e55afe4d0489b8a81c (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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions