[PATCH v2 0/2] perf evsel fallback changes
From: Ian Rogers
Date: Thu Mar 12 2026 - 02:16:48 EST
Discussion with Thomas Richter in:
https://lore.kernel.org/lkml/20260306071002.2526085-1-tmricht@xxxxxxxxxxxxx/
showed that the evsel__fallback wasn't working for s390. These patches
avoid the problematic frame pointer callchain on s390 and fix
evsel__fallback from a range of problems when falling back to a
software event. I simulated failures when developing the patches but
they are untested other than that.
v2: try exclude_callchain_user for s390 rather than fully disabling
the callchain. Fix a missed clearing of is_pmu_core if the
software event fallback.
v1: https://lore.kernel.org/lkml/20260312031928.1494864-1-irogers@xxxxxxxxxx/
Ian Rogers (2):
perf evsel: Improve falling back from cycles
perf evsel: Don't configure framepointer callchains on s390
tools/perf/util/evsel.c | 51 ++++++++++++++++++++++++++++++-----------
tools/perf/util/evsel.h | 2 ++
2 files changed, 39 insertions(+), 14 deletions(-)
--
2.53.0.851.ga537e3e6e9-goog