selftests/bpf: Test BTF writing APIs
authorAndrii Nakryiko <andriin@fb.com>
Tue, 29 Sep 2020 02:05:32 +0000 (19:05 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 29 Sep 2020 02:17:13 +0000 (19:17 -0700)
commit9141f75a3279bab4a7d761c6050d96777b646767
tree9079dd66d34a92825ddcb8122dfb399177da8bac
parentf86ed050bcee3b7daa420eb31a8b6d079701caab
selftests/bpf: Test BTF writing APIs

Add selftests for BTF writer APIs.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Link: https://lore.kernel.org/bpf/20200929020533.711288-4-andriin@fb.com
tools/lib/bpf/btf.c
tools/testing/selftests/bpf/prog_tests/btf_write.c [new file with mode: 0644]