Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c43 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_probe_manual() local
77 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe, in test_attach_probe_manual()
82 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe")) in test_attach_probe_manual()
84 skel->links.handle_uprobe = uprobe_link; in test_attach_probe_manual()
130 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_uprobe_long_event_name() local
150 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe, in test_attach_uprobe_long_event_name()
155 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe_long_event_name")) in test_attach_uprobe_long_event_name()
157 skel->links.handle_uprobe = uprobe_link; in test_attach_uprobe_long_event_name()
303 struct bpf_link *uprobe_link, *uretprobe_link; in test_uprobe_ref_ctr() local
318 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe_ref_ctr, in test_uprobe_ref_ctr()
[all …]
H A Dtask_pt_regs.c15 struct bpf_link *uprobe_link; in test_task_pt_regs() local
29 uprobe_link = bpf_program__attach_uprobe(skel->progs.handle_uprobe, in test_task_pt_regs()
34 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe")) in test_task_pt_regs()
36 skel->links.handle_uprobe = uprobe_link; in test_task_pt_regs()
/linux/tools/lib/bpf/
H A Dusdt.c1043 struct bpf_link *uprobe_link; in usdt_manager_attach_usdt() local
1086 uprobe_link = bpf_program__attach_uprobe_opts(prog, pid, path, in usdt_manager_attach_usdt()
1088 err = libbpf_get_error(uprobe_link); in usdt_manager_attach_usdt()
1095 link->uprobes[i].link = uprobe_link; in usdt_manager_attach_usdt()