Home
last modified time | relevance | path

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

/linux-5.19.10/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.c24 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_probe() local
85 uprobe_link = bpf_program__attach_uprobe_opts(skel->progs.handle_uprobe, in test_attach_probe()
90 if (!ASSERT_OK_PTR(uprobe_link, "attach_uprobe")) in test_attach_probe()
92 skel->links.handle_uprobe = uprobe_link; in test_attach_probe()
/linux-5.19.10/tools/lib/bpf/
Dusdt.c1022 struct bpf_link *uprobe_link; in usdt_manager_attach_usdt() local
1060 uprobe_link = bpf_program__attach_uprobe_opts(prog, pid, path, in usdt_manager_attach_usdt()
1062 err = libbpf_get_error(uprobe_link); in usdt_manager_attach_usdt()
1069 link->uprobes[i].link = uprobe_link; in usdt_manager_attach_usdt()