Searched refs:kprobe_link (Results 1 – 2 of 2) sorted by relevance
13 struct bpf_link *kprobe_link = NULL; in test_probe_user() local36 kprobe_link = bpf_program__attach_kprobe(kprobe_prog, false, in test_probe_user()38 if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", in test_probe_user()39 "err %ld\n", PTR_ERR(kprobe_link))) { in test_probe_user()40 kprobe_link = NULL; in test_probe_user()76 bpf_link__destroy(kprobe_link); in test_probe_user()
61 struct bpf_link *kprobe_link = NULL; in test_attach_probe() local113 kprobe_link = bpf_program__attach_kprobe(kprobe_prog, in test_attach_probe()116 if (CHECK(IS_ERR(kprobe_link), "attach_kprobe", in test_attach_probe()117 "err %ld\n", PTR_ERR(kprobe_link))) { in test_attach_probe()118 kprobe_link = NULL; in test_attach_probe()189 bpf_link__destroy(kprobe_link); in test_attach_probe()