Lines Matching refs:links

80 	skel->links.handle_kprobe = kprobe_link;  in test_attach_probe()
87 skel->links.handle_kretprobe = kretprobe_link; in test_attach_probe()
90 skel->links.handle_kprobe_auto = bpf_program__attach(skel->progs.handle_kprobe_auto); in test_attach_probe()
91 ASSERT_OK_PTR(skel->links.handle_kprobe_auto, "attach_kprobe_auto"); in test_attach_probe()
93 skel->links.handle_kretprobe_auto = bpf_program__attach(skel->progs.handle_kretprobe_auto); in test_attach_probe()
94 ASSERT_OK_PTR(skel->links.handle_kretprobe_auto, "attach_kretprobe_auto"); in test_attach_probe()
108 skel->links.handle_uprobe = uprobe_link; in test_attach_probe()
122 skel->links.handle_uretprobe = uretprobe_link; in test_attach_probe()
133 skel->links.handle_uprobe_byname = in test_attach_probe()
138 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname, "attach_uprobe_byname")) in test_attach_probe()
142 skel->links.handle_uretprobe_byname = in test_attach_probe()
144 if (!ASSERT_OK_PTR(skel->links.handle_uretprobe_byname, "attach_uretprobe_byname")) in test_attach_probe()
152 skel->links.handle_uprobe_byname2 = in test_attach_probe()
157 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname2, "attach_uprobe_byname2")) in test_attach_probe()
162 skel->links.handle_uretprobe_byname2 = in test_attach_probe()
167 if (!ASSERT_OK_PTR(skel->links.handle_uretprobe_byname2, "attach_uretprobe_byname2")) in test_attach_probe()
171 skel->links.handle_kprobe_sleepable = bpf_program__attach(skel->progs.handle_kprobe_sleepable); in test_attach_probe()
172 if (!ASSERT_ERR_PTR(skel->links.handle_kprobe_sleepable, "attach_kprobe_sleepable")) in test_attach_probe()
176 …skel->links.handle_uprobe_byname3_sleepable = bpf_program__attach(skel->progs.handle_uprobe_byname… in test_attach_probe()
177 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname3_sleepable, "attach_uprobe_byname3_sleepable")) in test_attach_probe()
180 skel->links.handle_uprobe_byname3 = bpf_program__attach(skel->progs.handle_uprobe_byname3); in test_attach_probe()
181 if (!ASSERT_OK_PTR(skel->links.handle_uprobe_byname3, "attach_uprobe_byname3")) in test_attach_probe()
184 …skel->links.handle_uretprobe_byname3_sleepable = bpf_program__attach(skel->progs.handle_uretprobe_… in test_attach_probe()
185 …if (!ASSERT_OK_PTR(skel->links.handle_uretprobe_byname3_sleepable, "attach_uretprobe_byname3_sleep… in test_attach_probe()
188 skel->links.handle_uretprobe_byname3 = bpf_program__attach(skel->progs.handle_uretprobe_byname3); in test_attach_probe()
189 if (!ASSERT_OK_PTR(skel->links.handle_uretprobe_byname3, "attach_uretprobe_byname3")) in test_attach_probe()