]> git.baikalelectronics.ru Git - kernel.git/commit
tools/bpf: Add tests for BTF_KIND_FUNC_PROTO and BTF_KIND_FUNC
authorMartin KaFai Lau <kafai@fb.com>
Mon, 19 Nov 2018 23:29:10 +0000 (15:29 -0800)
committerAlexei Starovoitov <ast@kernel.org>
Tue, 20 Nov 2018 18:54:38 +0000 (10:54 -0800)
commit0a904d1339093378f5dc9d9bfef5d840dbd50f09
treecab2bda07077f3d7ab9ff8e2f682a0e896ba3380
parenteff0fb987b9f1bafd06b7dc940350f15a9c6012c
tools/bpf: Add tests for BTF_KIND_FUNC_PROTO and BTF_KIND_FUNC

This patch adds unit tests for BTF_KIND_FUNC_PROTO and
BTF_KIND_FUNC to test_btf.

Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/lib/bpf/btf.c
tools/testing/selftests/bpf/test_btf.c