summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorYuntao Wang <ytcoode@gmail.com>2022-03-24 19:42:38 +0300
committerAlexei Starovoitov <ast@kernel.org>2022-03-29 05:08:17 +0300
commitc29a4920dfcaa1433b09e2674f605f72767a385c (patch)
treec00840a8ab95456930d9c5a02e6211d9a48ca4a7 /tools/perf/scripts/python/stackcollapse.py
parent98870605b3742c38353b50b6dbad33fab9de415f (diff)
downloadlinux-c29a4920dfcaa1433b09e2674f605f72767a385c.tar.xz
bpf: Fix maximum permitted number of arguments check
Since the m->arg_size array can hold up to MAX_BPF_FUNC_ARGS argument sizes, it's ok that nargs is equal to MAX_BPF_FUNC_ARGS. Signed-off-by: Yuntao Wang <ytcoode@gmail.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Martin KaFai Lau <kafai@fb.com> Link: https://lore.kernel.org/bpf/20220324164238.1274915-1-ytcoode@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions