selftests/bpf: Test libbpf API function btf__add_tag()

Add btf_write tests with btf__add_tag() function.

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/20210914223036.247560-1-yhs@fb.com
This commit is contained in:
Yonghong Song 2021-09-14 15:30:36 -07:00 • committed by Alexei Starovoitov
commit 71d29c2d47
2 changed files with 27 additions and 1 deletions