perf evsel fallback changes, better s390 defaults
Status from this message: Applied to perf-tools-next, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest5 patches 4 repliesApplied
- v75 patches 0 repliesSuperseded
- v65 patches 2 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 5 patches | 2 replies | Superseded | |
| v4 | 5 patches | 0 replies | Superseded | |
| v3 | 3 patches | 2 replies | Superseded | |
| v2 | 2 patches | 6 replies | Superseded | |
| v1 | 2 patches | 0 replies | Superseded |
Patches in v8 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | perf evsel: Improve falling back from cyclestools/ tools/ | +33 | 0 replies | |
| 2/5 | perf target: Constify simple check functionstools/ | +6 | 0 replies | |
| 3/5 | perf evsel: Constify option arguments to config functionstools/ tools/ | +14 | 0 replies | |
| 4/5 | perf callchain: Refactor callchain option parsingtools/ tools/ tools/ +2 more | +104 | 0 replies | |
| 5/5 | perf evlist: Improve default event for s390tools/ tools/ tools/ +6 more | +64 | 1 reply |
Reviews trailers per patch
None of the 5 patches has a Reviewed-by or Acked-by.
| Patch | Thomas Richter |
|---|---|
| 1/5 | T-b |
| 2/5 | T-b |
| 3/5 | T-b |
| 4/5 | T-b |
| 5/5 | T-b T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v8 0/5] perf evsel fallback changes, better s390 defaults
Discussion with Thomas Richter in:
https://lore.kernel.org/lkml/[email protected]/
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.
v8: Address sashiko review that target wasn't fully initialized for
perf record with '-u'. Ensure the callchain is enabled with '-g' and a .perfconfig setting. This don't impact testing so keeping Thomas' tested-by tags.
https://sashiko.dev/#/patchset/20260318175808.582009-1-irogers%40google.com
v7: In perf top, move the target uid handling back to after the evlist
is setup. A regression caught by Sashiko in:
https://sashiko.dev/#/patchset/20260317175642.161647-1-irogers%40google.com
https://lore.kernel.org/lkml/[email protected]/
v6: Sashiko noted that target wasn't fully set up when creating the
default evlist in perf top, so move it earlier. Fix const char* casting issues in __parse_callchain_report_opt. Make '-g' not override the .perfconfig setting again.
https://sashiko.dev/#/patchset/20260317055334.760347-1-irogers%40google.com
https://lore.kernel.org/lkml/[email protected]/
v5: Fix the value for the top option to match that of record. Tidy the
callchain parsing option callbacks. Based on AI review feedback:
https://sashiko.dev/#/patchset/20260317030601.567422-1-irogers%40google.com
https://lore.kernel.org/lkml/[email protected]/
v4: Changing the callchain parameter at configuration time means other
options aren't set the same as they would for --call-graph dwarf, for example the stack size. Switch to setting the callchain option on s390 to parameter parse time. For '-g' use '--call-graph dwarf' for s390. Other --call-graph options are parsed as normal, but a warning is generated when setting --call-graph fp for s390. Also fix that sample IDs aren't wanted when there is only 1 event in the evlist.
https://lore.kernel.org/lkml/[email protected]/
v3: Incorporate feedback about event and callchain behavior for s390:
https://lore.kernel.org/lkml/[email protected]/
https://lore.kernel.org/lkml/[email protected]/
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.
https://lore.kernel.org/lkml/[email protected]/
v1: https://lore.kernel.org/lkml/[email protected]/
Ian Rogers (5):
perf evsel: Improve falling back from cycles perf target: Constify simple check functions perf evsel: Constify option arguments to config functions perf callchain: Refactor callchain option parsing perf evlist: Improve default event for s390
tools/perf/builtin-record.c | 81 ++++++++++---------------------- tools/perf/builtin-top.c | 46 +++++++++++------- tools/perf/builtin-trace.c | 9 +++- tools/perf/tests/event_update.c | 4 +- tools/perf/tests/expand-cgroup.c | 4 +- tools/perf/tests/perf-record.c | 7 ++- tools/perf/tests/topology.c | 4 +- tools/perf/util/callchain.c | 73 +++++++++++++++++++++++----- tools/perf/util/callchain.h | 12 ++--- tools/perf/util/evlist.c | 32 ++++++++----- tools/perf/util/evlist.h | 2 +- tools/perf/util/evsel.c | 70 +++++++++++++++++---------- tools/perf/util/evsel.h | 10 ++-- tools/perf/util/target.h | 12 ++--- 14 files changed, 219 insertions(+), 147 deletions(-)
Signature · 1 line
2.53.0.851.ga537e3e6e9-goog