aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/perf_link.c
diff options
context:
space:
mode:
authorYucong Sun <sunyucong@gmail.com>2021-10-06 11:56:19 -0700
committerAndrii Nakryiko <andrii@kernel.org>2021-10-08 15:17:00 -0700
commitd3f7b1664d3ebd69751327f45f5cd4adfb29f620 (patch)
treee78324d50d01bff5acb6d2556b72f88e1ff7530f /tools/testing/selftests/bpf/prog_tests/perf_link.c
parentselftests/bpf: Fix pid check in fexit_sleep test (diff)
downloadlinux-dev-d3f7b1664d3ebd69751327f45f5cd4adfb29f620.tar.xz
linux-dev-d3f7b1664d3ebd69751327f45f5cd4adfb29f620.zip
selfetest/bpf: Make some tests serial
Change tests that often fails in parallel execution mode to serial. Signed-off-by: Yucong Sun <sunyucong@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211006185619.364369-15-fallentree@fb.com
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/perf_link.c')
-rw-r--r--tools/testing/selftests/bpf/prog_tests/perf_link.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/prog_tests/perf_link.c b/tools/testing/selftests/bpf/prog_tests/perf_link.c
index b1abd0c46607..ede07344f264 100644
--- a/tools/testing/selftests/bpf/prog_tests/perf_link.c
+++ b/tools/testing/selftests/bpf/prog_tests/perf_link.c
@@ -23,7 +23,8 @@ static void burn_cpu(void)
++j;
}
-void test_perf_link(void)
+/* TODO: often fails in concurrent mode */
+void serial_test_perf_link(void)
{
struct test_perf_link *skel = NULL;
struct perf_event_attr attr;