diff options
author | Stanislav Fomichev <sdf@google.com> | 2019-01-28 09:21:18 -0800 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-01-31 10:13:21 +0100 |
commit | cfff578ed51ca4ad4c66c8d4bd78694096ea5515 (patch) | |
tree | 499bb75269dc00ff4121f793c4827b6eea77d3bd /include/linux/bpf_types.h | |
parent | selftests/bpf: skip verifier tests for unsupported map types (diff) | |
download | wireguard-linux-cfff578ed51ca4ad4c66c8d4bd78694096ea5515.tar.xz wireguard-linux-cfff578ed51ca4ad4c66c8d4bd78694096ea5515.zip |
selftests/bpf: mark verifier test that uses bpf_trace_printk as BPF_PROG_TYPE_TRACEPOINT
We don't have this helper if the kernel was compiled without
CONFIG_BPF_EVENTS. Setting prog_type to BPF_PROG_TYPE_TRACEPOINT
let's verifier correctly skip this test based on the missing
prog_type support in the kernel.
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'include/linux/bpf_types.h')
0 files changed, 0 insertions, 0 deletions