Home
last modified time | relevance | path

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

/linux-6.12.1/tools/testing/selftests/bpf/prog_tests/
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()
Dattach_probe.c42 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_probe_manual() local
76 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe, in test_attach_probe_manual()
81 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe")) in test_attach_probe_manual()
83 skel->links.handle_uprobe = uprobe_link; in test_attach_probe_manual()
198 struct bpf_link *uprobe_link, *uretprobe_link; in test_uprobe_ref_ctr() local
213 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe_ref_ctr, in test_uprobe_ref_ctr()
218 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe_ref_ctr")) in test_uprobe_ref_ctr()
220 skel->links.handle_uprobe_ref_ctr = uprobe_link; in test_uprobe_ref_ctr()
/linux-6.12.1/tools/lib/bpf/
Dusdt.c1032 struct bpf_link *uprobe_link; in usdt_manager_attach_usdt() local
1075 uprobe_link = bpf_program__attach_uprobe_opts(prog, pid, path, in usdt_manager_attach_usdt()
1077 err = libbpf_get_error(uprobe_link); in usdt_manager_attach_usdt()
1084 link->uprobes[i].link = uprobe_link; in usdt_manager_attach_usdt()