Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

libbpf: Add __arg_arena to bpf_helpers.h

Add __arg_arena to bpf_helpers.h

Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20240308010812.89848-8-alexei.starovoitov@gmail.com

authored by

Alexei Starovoitov and committed by
Andrii Nakryiko
4d2b5608 2edc3de6

+1
+1
tools/lib/bpf/bpf_helpers.h
··· 193 193 #define __arg_nonnull __attribute((btf_decl_tag("arg:nonnull"))) 194 194 #define __arg_nullable __attribute((btf_decl_tag("arg:nullable"))) 195 195 #define __arg_trusted __attribute((btf_decl_tag("arg:trusted"))) 196 + #define __arg_arena __attribute((btf_decl_tag("arg:arena"))) 196 197 197 198 #ifndef ___bpf_concat 198 199 #define ___bpf_concat(a, b) a ## b