selftests/bpf: Fix attach_probe in parallel mode
authorYucong Sun <sunyucong@gmail.com>
Mon, 25 Oct 2021 22:33:44 +0000 (15:33 -0700)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 27 Oct 2021 18:59:02 +0000 (11:59 -0700)
commit9e7240fb2d6e0ed3944724ae1d224fdf22b3dea3
treedd16527f04c6539ca3c7e0c0cb33e0883a177e4a
parent547208a386fa2066fa2d6d48bda145f78c38604f
selftests/bpf: Fix attach_probe in parallel mode

This patch makes attach_probe uses its own method as attach point,
avoiding conflict with other tests like bpf_cookie.

Signed-off-by: Yucong Sun <sunyucong@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20211025223345.2136168-4-fallentree@fb.com
tools/testing/selftests/bpf/prog_tests/attach_probe.c