Searched refs:uprobe_link (Results 1 - 3 of 3) sorted by relevance

/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtask_pt_regs.c15 struct bpf_link *uprobe_link; local
29 uprobe_link = bpf_program__attach_uprobe(skel->progs.handle_uprobe,
34 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe"))
36 skel->links.handle_uprobe = uprobe_link;
H A Dattach_probe.c42 struct bpf_link *uprobe_link, *uretprobe_link; local
76 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe,
81 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe"))
83 skel->links.handle_uprobe = uprobe_link;
198 struct bpf_link *uprobe_link, *uretprobe_link; local
213 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe_ref_ctr,
218 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe_ref_ctr"))
220 skel->links.handle_uprobe_ref_ctr = uprobe_link;
/linux-master/tools/lib/bpf/
H A Dusdt.c1032 struct bpf_link *uprobe_link; local
1075 uprobe_link = bpf_program__attach_uprobe_opts(prog, pid, path,
1077 err = libbpf_get_error(uprobe_link);
1084 link->uprobes[i].link = uprobe_link;

Completed in 143 milliseconds