diff options
| author | Alexei Starovoitov <ast@kernel.org> | 2026-04-02 19:44:21 -0700 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-03 08:34:44 -0700 |
| commit | 1a1cadbd5d50b31ae1340c2a9938947719696ca0 (patch) | |
| tree | 91b4f07c35046a6a73a53505555c2799beab5fcd /tools/perf/scripts/python | |
| parent | 19dbb1347481105e8aabc7479af35c09a65333a9 (diff) | |
bpf: Add helper and kfunc stack access size resolution
The static stack liveness analysis needs to know how many bytes a
helper or kfunc accesses through a stack pointer argument, so it can
precisely mark the affected stack slots as stack 'def' or 'use'.
Add bpf_helper_stack_access_bytes() and bpf_kfunc_stack_access_bytes()
which resolve the access size for a given call argument.
Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20260403024422.87231-7-alexei.starovoitov@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
