]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite4c02383f1ed723e2fb18fa56922fe976054223d
tree9079dd66d34a92825ddcb8122dfb399177da8bac
parentd79ecb7c2aa438981af1446e83b57debd1e05b34
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]