selftests/bpf: Add BTF_KIND_TAG unit tests

Test good and bad variants of BTF_KIND_TAG encoding.

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/20210914223047.248223-1-yhs@fb.com
This commit is contained in:
Yonghong Song 2021-09-14 15:30:47 -07:00 • committed by Alexei Starovoitov
commit 35baba7a83
2 changed files with 248 additions and 0 deletions