]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Add split BTF basic test
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 5 Nov 2020 04:33:55 +0000 (20:33 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 6 Nov 2020 02:37:30 +0000 (18:37 -0800)
commit0a90dc3ea2a73fa1b623851c836d8136da201e18
tree9dcf2f870a918f7d46969d18479fc4d348b992af
parent60a8c204413cea7d5b3eb15cc02103b49cc2b11c
selftests/bpf: Add split BTF basic test

Add selftest validating ability to programmatically generate and then dump
split BTF.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Song Liu <songliubraving@fb.com>
Link: https://lore.kernel.org/bpf/20201105043402.2530976-6-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/btf_split.c [new file with mode: 0644]
tools/testing/selftests/bpf/test_progs.h