summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2026-08-03 23:01:48 +0200
committerAndrii Nakryiko <andrii@kernel.org>2026-08-05 11:34:45 -0700
commit347c1d722e3ea4ffa2850585f5c76c6e551eac83 (patch)
treeb0380419fe97fef69909a14f563d8b843b34c2a6 /tools/perf/scripts/python/bin/stackcollapse-report
parentb1a47b2708d4e95dbd23aee2ec83752190897b3f (diff)
bpf: Avoid changing callchain in bpf_get_stack_pe
There's no need to modify the trace object bpf_get_stack_pe, we just need to pass the needed callchain length in separate argument. This way we can have callchain pointers const and remove the trace->nr modification and restoration. Assisted-by: Codex:GPT-5.5 Signed-off-by: Jiri Olsa <jolsa@kernel.org> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20260803210149.296496-12-jolsa@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions