aboutsummaryrefslogtreecommitdiff
path: root/tools/lib/bpf/btf.c
diff options
context:
space:
mode:
authorYonghong Song <[email protected]>2018-11-19 15:29:15 -0800
committerAlexei Starovoitov <[email protected]>2018-11-20 10:54:39 -0800
commit4798c4ba3ba94e4da37b2557dfda04f80a94e8d5 (patch)
tree71603a1651b624d9f7386576053cd2dc9480c8ec /tools/lib/bpf/btf.c
parent7e0d0fb5522a388700ceff723af98c47ffa8a0a9 (diff)
tools/bpf: extends test_btf to test load/retrieve func_type info
A two function bpf program is loaded with btf and func_info. After successful prog load, the bpf_get_info syscall is called to retrieve prog info to ensure the types returned from the kernel matches the types passed to the kernel from the user space. Several negative tests are also added to test loading/retriving of func_type info. Signed-off-by: Yonghong Song <[email protected]> Signed-off-by: Martin KaFai Lau <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/lib/bpf/btf.c')
0 files changed, 0 insertions, 0 deletions