Home
last modified time | relevance | path

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

/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
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()
H A 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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
H A Dattach_probe.c30 struct bpf_link *uprobe_link, *uretprobe_link; in test_attach_probe() local
63 uprobe_link = bpf_program__attach_uprobe(skel->progs.handle_uprobe, in test_attach_probe()
68 if (CHECK(IS_ERR(uprobe_link), "attach_uprobe", in test_attach_probe()
69 "err %ld\n", PTR_ERR(uprobe_link))) in test_attach_probe()
71 skel->links.handle_uprobe = uprobe_link; in test_attach_probe()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A 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()

Completed in 7 milliseconds