[PATCH v1 0/2] perf evsel fallback changes

From: Ian Rogers

Date: Wed Mar 11 2026 - 23:20:17 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.

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