Home
last modified time | relevance | path

Searched refs:retlink2 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_cookie.c26 struct bpf_link *retlink1 = NULL, *retlink2 = NULL; in kprobe_subtest() local
53 retlink2 = bpf_program__attach_kprobe_opts(skel->progs.handle_kretprobe, in kprobe_subtest()
55 if (!ASSERT_OK_PTR(retlink2, "retlink2")) in kprobe_subtest()
68 bpf_link__destroy(retlink2); in kprobe_subtest()
322 struct bpf_link *retlink1 = NULL, *retlink2 = NULL; in uprobe_subtest() local
354 retlink2 = bpf_program__attach_uprobe_opts(skel->progs.handle_uretprobe, 0 /* self pid */, in uprobe_subtest()
356 if (!ASSERT_OK_PTR(retlink2, "retlink2")) in uprobe_subtest()
369 bpf_link__destroy(retlink2); in uprobe_subtest()