summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorKeisuke Nishimura <keisuke.nishimura@inria.fr>2026-03-20 14:02:20 +0100
committerAlexei Starovoitov <ast@kernel.org>2026-03-24 08:50:20 -0700
commit25e3e1f1096089a64901ae1faa7b7b13446653db (patch)
tree8a370e84dc1a786acb9ca6fce983f4753cd5babc /tools/perf/scripts/python/stackcollapse.py
parentad2f7ed0ee91d63792cbe52f2b38325918ae3daa (diff)
bpf: Fix refcount check in check_struct_ops_btf_id()
The current implementation only checks whether the first argument is refcounted. Fix this by iterating over all arguments. Signed-off-by: Keisuke Nishimura <keisuke.nishimura@inria.fr> Fixes: 38f1e66abd184 ("bpf: Do not allow tail call in strcut_ops program with __ref argument") Reviewed-by: Emil Tsalapatis <emil@etsalapatis.com> Acked-by: Amery Hung <ameryhung@gmail.com> Link: https://lore.kernel.org/r/20260320130219.63711-1-keisuke.nishimura@inria.fr Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions