summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2026-10-19 15:21:58 +0200
committerAlexei Starovoitov <ast@kernel.org>2026-10-19 19:45:04 +0000
commitfb854e2e54a7b0d19f6d93342ae0a64954411869 (patch)
tree4b92d8c5a005bb4f6094c1ead45cac9bb4c63bdb /tools/perf/scripts/python/stackcollapse.py
parent31ef8ab6dfc7152e4b64bcae19a3e07b10dd8fea (diff)
selftests/bpf: Test an arena kfunc argument passed from a subprogram
Call a kfunc with an __arena argument from a global subprogram that does nothing else with the arena, the address arrives as a number and no cast is involved. The subprogram needs the arena base set up by its own prologue for the JIT to rebase the argument, which the BPF CI review found was not recorded for it. Pass a NULL constant to a nullable __arena kfunc argument as well, from a program that touches the arena nowhere else. The verifier takes its early exit for a NULL argument, but the JIT rebases the call like any other, behind the NULL test the function model asks for, so the arena base has to be set up for that call alone. Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://patch.msgid.link/20261019132203.3034698-17-memxor@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions