OSDN Git Service

selftests/bpf: Add BTF_KIND_DECL_TAG typedef unit tests
authorYonghong Song <yhs@fb.com>
Thu, 21 Oct 2021 19:56:33 +0000 (12:56 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Sat, 23 Oct 2021 00:04:43 +0000 (17:04 -0700)
commit9d19a12b02bf009fefc3620234b4297e4bd7c5d5
tree728422dbb7c3134339a1214680deab1541b41d70
parentbd16dee66ae4de3f1726c69ac901d2b7a53b0c86
selftests/bpf: Add BTF_KIND_DECL_TAG typedef unit tests

Test good and bad variants of typedef BTF_KIND_DECL_TAG encoding.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20211021195633.4019472-1-yhs@fb.com
tools/testing/selftests/bpf/prog_tests/btf.c