selftests/bpf: Switch fexit_stress to bpf_link_create() API
authorAndrii Nakryiko <andrii@kernel.org>
Thu, 21 Apr 2022 03:39:45 +0000 (20:39 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 22 Apr 2022 22:37:02 +0000 (00:37 +0200)
commitfd0493a1e49eb643ac86f3932b1bde60bcc9f402
treec15a5d262a9fd3290897b8a0cb5ba46baf0ecc59
parent8462e0b46fe2d4c56d0a7de705228e3bf1da03d9
selftests/bpf: Switch fexit_stress to bpf_link_create() API

Use bpf_link_create() API in fexit_stress test to attach FEXIT programs.

Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Kui-Feng Lee <kuifeng@fb.com>
Link: https://lore.kernel.org/bpf/20220421033945.3602803-4-andrii@kernel.org
tools/testing/selftests/bpf/prog_tests/fexit_stress.c