We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0de91d8 commit 28c1f27Copy full SHA for 28c1f27
tools/testing/selftests/bpf/prog_tests/fexit_stress.c
@@ -53,7 +53,7 @@ void test_fexit_stress(void)
53
&trace_opts);
54
if (!ASSERT_GE(fexit_fd[i], 0, "fexit load"))
55
goto out;
56
- link_fd[i] = bpf_raw_tracepoint_open(NULL, fexit_fd[i]);
+ link_fd[i] = bpf_link_create(fexit_fd[i], 0, BPF_TRACE_FEXIT, NULL);
57
if (!ASSERT_GE(link_fd[i], 0, "fexit attach"))
58
59
}
0 commit comments