summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-03-18 16:46:00 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-03-19 14:42:46 -0700
commitca76fb67ebdd5e1a30a242d06dc096fddd670734 (patch)
treea4f18b00960a8021e3ae522fb24f932080f6030f /tools/perf/scripts/python/stackcollapse.py
parentc006753c3aae432efda28d5aaea4b8fec0343da8 (diff)
perf evlist: Improve default event for s390
Frame pointer callchains are not supported on s390 and dwarf callchains are only supported on software events. Switch the default event from the hardware 'cycles' event to the software 'cpu-clock' or 'task-clock' on s390 if callchains are enabled. Move some of the target initialization earlier in builtin-top and builtin-record, so it is ready for use by evlist__new_default. If frame pointer callchains are requested on s390 show a warning. Modify the '-g' option of `perf top` and `perf record` to default to dwarf callchains on s390. 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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions