]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2fc10a99c444a2f6f92fd7a80848edeaa8f0b689
tree728422dbb7c3134339a1214680deab1541b41d70
parent3128338dffb3529aaaad55c1d6b90cc61922b9a1
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