]> asedeno.scripts.mit.edu Git - linux.git/commit
selftests/bpf: Add selftests for bpf_perf_event_output
authorAllan Zhang <allanzhang@google.com>
Wed, 24 Jul 2019 00:07:25 +0000 (17:07 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 26 Jul 2019 00:56:00 +0000 (17:56 -0700)
commit03cd1d1a493e92a80d60040d6aa8160aff239942
tree02e651213076ebb1079a3fb2ef71e850b058d957
parent7c4b90d79d0f4ee6f2c01a114ef0a83a09dfc900
selftests/bpf: Add selftests for bpf_perf_event_output

Software event output is only enabled by a few prog types.
This test is to ensure that all supported types are enabled for
bpf_perf_event_output successfully.

Signed-off-by: Allan Zhang <allanzhang@google.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/test_verifier.c
tools/testing/selftests/bpf/verifier/event_output.c [new file with mode: 0644]