]> 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)
commit4fdbab77de7703155e3dfb89e0d1c6ba5071a18f
treefe630450860cda33ac53bae54ad2bcb3247b6c9a
parent9424b59113ed9d950cc5cf1e5cf71057222266b4
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