selftests/bpf: Add BTF_KIND_TYPE_TAG unit tests
authorYonghong Song <yhs@fb.com>
Fri, 12 Nov 2021 01:26:30 +0000 (17:26 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 12 Nov 2021 01:41:11 +0000 (17:41 -0800)
commit6aa5dabc9d0ef722905e4ca4f9751d70cf3ec8a4
treea5027874823e8ab51508cb7f4e06899fc0695292
parent0dc85872203bf7b15c56c7eb228b8f3fabb17ac2
selftests/bpf: Add BTF_KIND_TYPE_TAG unit tests

Add BTF_KIND_TYPE_TAG unit tests.

Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211112012630.1506095-1-yhs@fb.com
tools/testing/selftests/bpf/prog_tests/btf.c
tools/testing/selftests/bpf/test_btf.h