]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/btf: add initial BTF dedup tests
authorAndrii Nakryiko <andriin@fb.com>
Tue, 5 Feb 2019 01:29:46 +0000 (17:29 -0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Feb 2019 15:52:57 +0000 (16:52 +0100)
commit2d881af64b6c77d1b6c2acd916e4653c4c458240
treefe630450860cda33ac53bae54ad2bcb3247b6c9a
parent766b3d86d08f87bd400fea95cfc262d6ec0f6289
selftests/btf: add initial BTF dedup tests

This patch sets up a new kind of tests (BTF dedup tests) and tests few aspects of
BTF dedup algorithm. More complete set of tests will come in follow up patches.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/btf.c
tools/lib/bpf/btf.h
tools/lib/bpf/libbpf.map
tools/testing/selftests/bpf/test_btf.c