[PATCH v1 0/2] perf evsel fallback changes

Ian Rogers
2026-03-12T03:19:33Z

Discussion with Thomas Richter in:
https://lore.kernel.org/lkml/20260306071002.2526085-1-tmricht@linux.ibm.com/
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.

Ian Rogers (2):
perf evsel: Improve falling back from cycles
perf evsel: Don't configure framepointer callchains on s390

tools/perf/util/evsel.c | 49 +++++++++++++++++++++++++++++------------
tools/perf/util/evsel.h | 2 ++
2 files changed, 37 insertions(+), 14 deletions(-)

--
2.53.0.851.ga537e3e6e9-goog