summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2026-08-03 23:01:49 +0200
committerAndrii Nakryiko <andrii@kernel.org>2026-08-05 11:34:46 -0700
commita74594607a0b310c1533e713b9097cc1cbbb85bf (patch)
tree15810358f5a830fa237db7aaf6e4d6604375d86c /tools/perf/scripts/python/flamegraph.py
parent347c1d722e3ea4ffa2850585f5c76c6e551eac83 (diff)
bpf: Avoid changing callchain in bpf_get_stackid_pe
There's no need to modify the trace object bpf_get_stackid_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-13-jolsa@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions