selftests/bpf: Add BTF_KIND_ENUM64 unit tests
authorYonghong Song <yhs@fb.com>
Tue, 7 Jun 2022 06:27:08 +0000 (23:27 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 7 Jun 2022 17:20:44 +0000 (10:20 -0700)
commit3b5325186dfad5ad2b2d8f7e8a79662de1b2749d
tree1513d2cfabada82c429623d6242c0d96859a0932
parent2b7301457ffe7be085744fa49f1244a71c1c6f1d
selftests/bpf: Add BTF_KIND_ENUM64 unit tests

Add unit tests for basic BTF_KIND_ENUM64 encoding.

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