Searched refs:kprobe_link (Results 1 – 2 of 2) sorted by relevance
12 struct bpf_link *kprobe_link = NULL; in test_probe_user() local35 kprobe_link = bpf_program__attach(kprobe_prog); in test_probe_user()36 if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", in test_probe_user()37 "err %ld\n", PTR_ERR(kprobe_link))) { in test_probe_user()38 kprobe_link = NULL; in test_probe_user()74 bpf_link__destroy(kprobe_link); in test_probe_user()
29 struct bpf_link *kprobe_link, *kretprobe_link; in test_attach_probe() local47 kprobe_link = bpf_program__attach_kprobe(skel->progs.handle_kprobe, in test_attach_probe()50 if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", in test_attach_probe()51 "err %ld\n", PTR_ERR(kprobe_link))) in test_attach_probe()53 skel->links.handle_kprobe = kprobe_link; in test_attach_probe()