]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit23d027f947998efe21f38f352680b34bdba2d985
tree36d4796a2deccacc5a17ddb00d63d4199a36c7c8
parent6fa274f5421aa0408cf8ea6336b88e15d4faaebf
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: 80ffad9fe5dd ("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