aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorKumar Kartikeya Dwivedi <memxor@gmail.com>2025-07-03 13:48:10 -0700
committerAlexei Starovoitov <ast@kernel.org>2025-07-03 19:30:06 -0700
commitd090326860096df9dac6f27cff76d3f8df44d4f1 (patch)
tree2f3958edbb8eb87e8eb46971e81306a923cd487a /scripts/stackusage
parentbpf: Add function to extract program source info (diff)
downloadlinux-d090326860096df9dac6f27cff76d3f8df44d4f1.tar.gz
linux-d090326860096df9dac6f27cff76d3f8df44d4f1.zip
bpf: Ensure RCU lock is held around bpf_prog_ksym_find
Add a warning to ensure RCU lock is held around tree lookup, and then fix one of the invocations in bpf_stack_walker. The program has an active stack frame and won't disappear. Use the opportunity to remove unneeded invocation of is_bpf_text_address. Fixes: f18b03fabaa9 ("bpf: Implement BPF exceptions") Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com> Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com> Link: https://lore.kernel.org/r/20250703204818.925464-5-memxor@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions