commit | 999d82cbc04416cc7f2b5cb6daab947c16f0fd3a | [log] [tgz] |
---|---|---|
author | Yonghong Song <yhs@fb.com> | Mon Nov 19 15:29:20 2018 -0800 |
committer | Alexei Starovoitov <ast@kernel.org> | Tue Nov 20 10:54:39 2018 -0800 |
tree | ee1c1b0b650b10534b39aa9b42b9ff3f2329c29e | |
parent | d7f5b5e051554c91bab995b67101af4625af591a [diff] |
tools/bpf: enhance test_btf file testing to test func info Change the bpf programs test_btf_haskv.c and test_btf_nokv.c to have two sections, and enhance test_btf.c test_file feature to test btf func_info returned by the kernel. Signed-off-by: Yonghong Song <yhs@fb.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>