]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcddae8bfc1f96542955d061b1b1d77665db953c8
treec15a5d262a9fd3290897b8a0cb5ba46baf0ecc59
parent5a8734acf6836e52d448970f469c650ad0c99aa3
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