libbpf: add __arg_xxx macros for annotating global func args
authorAndrii Nakryiko <andrii@kernel.org>
Fri, 15 Dec 2023 01:13:32 +0000 (17:13 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 20 Dec 2023 02:06:47 +0000 (18:06 -0800)
commitaae9c25dda159045b223ecb471cd0729ccec8285
tree9deb9267269fb33e487df552afa5fa6bd416942b
parenta64bfe618665ea9c722f922cba8c6e3234eac5ac
libbpf: add __arg_xxx macros for annotating global func args

Add a set of __arg_xxx macros which can be used to augment BPF global
subprogs/functions with extra information for use by BPF verifier.

Acked-by: Eduard Zingerman <eddyz87@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/r/20231215011334.2307144-9-andrii@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/bpf_helpers.h