aboutsummaryrefslogtreecommitdiffstats
path: root/tools/pci
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2018-11-19 15:29:15 -0800
committerAlexei Starovoitov <ast@kernel.org>2018-11-20 10:54:39 -0800
commit4798c4ba3ba94e4da37b2557dfda04f80a94e8d5 (patch)
tree71603a1651b624d9f7386576053cd2dc9480c8ec /tools/pci
parenttools/bpf: add new fields for program load in lib/bpf (diff)
downloadlinux-dev-4798c4ba3ba94e4da37b2557dfda04f80a94e8d5.tar.xz
linux-dev-4798c4ba3ba94e4da37b2557dfda04f80a94e8d5.zip
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 <yhs@fb.com> Signed-off-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/pci')
0 files changed, 0 insertions, 0 deletions