diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2022-11-18 07:26:09 +0530 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-11-17 19:22:14 -0800 |
commit | 64069c72b4b8e44f6876249cc8f2e2ee4d209a93 (patch) | |
tree | f91299450a71edf9e67b52bc3090e7e8ef5473e5 /tools/testing/selftests/bpf/progs/bpf_iter_bpf_map.c | |
parent | c22dfdd21592c5d56b49d5fba8de300ad7bf293c (diff) |
selftests/bpf: Add __contains macro to bpf_experimental.h
Add user facing __contains macro which provides a convenient wrapper
over the verbose kernel specific BTF declaration tag required to
annotate BPF list head structs in user types.
Acked-by: Dave Marchevsky <davemarchevsky@fb.com>
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20221118015614.2013203-20-memxor@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/bpf_iter_bpf_map.c')
0 files changed, 0 insertions, 0 deletions