selftests/bpf: fix perf_buffer on s390
authorIlya Leoshkevich <iii@linux.ibm.com>
Tue, 16 Jul 2019 12:58:27 +0000 (14:58 +0200)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 17 Jul 2019 01:41:00 +0000 (18:41 -0700)
commit1cb59a6074e23c6f6513642f752a6d8d38327354
tree36d4796a2deccacc5a17ddb00d63d4199a36c7c8
parent9d1f62a6dcf0de3ab184c1f7b7d82117dcbab090
selftests/bpf: fix perf_buffer on s390

perf_buffer test fails for exactly the same reason test_attach_probe
used to fail: different nanosleep syscall kprobe name.

Reuse the test_attach_probe fix.

Fixes: ee5cf82ce04a ("selftests/bpf: test perf buffer API")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
tools/testing/selftests/bpf/prog_tests/attach_probe.c
tools/testing/selftests/bpf/prog_tests/perf_buffer.c
tools/testing/selftests/bpf/test_progs.h