diff options
author | 2022-03-25 00:42:38 +0800 | |
---|---|---|
committer | 2022-03-28 19:08:17 -0700 | |
commit | c29a4920dfcaa1433b09e2674f605f72767a385c (patch) | |
tree | c00840a8ab95456930d9c5a02e6211d9a48ca4a7 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Sync comments for bpf_get_stack (diff) | |
download | wireguard-linux-c29a4920dfcaa1433b09e2674f605f72767a385c.tar.xz wireguard-linux-c29a4920dfcaa1433b09e2674f605f72767a385c.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions