selftests/bpf: test perf buffer API
authorAndrii Nakryiko <andriin@fb.com>
Sat, 6 Jul 2019 18:06:26 +0000 (11:06 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 8 Jul 2019 13:35:43 +0000 (15:35 +0200)
commitee5cf82ce04a60d71b0dc219804f6cf1e6ba6d14
tree4deec4d2857b00221e53f75f9d64f62a7d95f672
parentd7ff34d5fb5a2f6722786863c4afa79c51f8edf2
selftests/bpf: test perf buffer API

Add test verifying perf buffer API functionality.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Acked-by: Song Liu <songliubraving@fb.com>
Acked-by: Yonghong Song <yhs@fb.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/testing/selftests/bpf/prog_tests/perf_buffer.c [new file with mode: 0644]
tools/testing/selftests/bpf/progs/test_perf_buffer.c [new file with mode: 0644]