diff options
author | Yonghong Song <yhs@fb.com> | 2018-11-19 15:29:15 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-11-20 10:54:39 -0800 |
commit | 4798c4ba3ba94e4da37b2557dfda04f80a94e8d5 (patch) | |
tree | 71603a1651b624d9f7386576053cd2dc9480c8ec /kernel/irq/cpuhotplug.c | |
parent | 7e0d0fb5522a388700ceff723af98c47ffa8a0a9 (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 <yhs@fb.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/irq/cpuhotplug.c')
0 files changed, 0 insertions, 0 deletions