Lines Matching refs:legacy_probe
10510 char *legacy_probe = NULL; in bpf_program__attach_kprobe_opts() local
10555 legacy_probe = strdup(probe_name); in bpf_program__attach_kprobe_opts()
10556 if (!legacy_probe) in bpf_program__attach_kprobe_opts()
10559 pfd = perf_event_kprobe_open_legacy(legacy_probe, retprobe, func_name, in bpf_program__attach_kprobe_opts()
10583 perf_link->legacy_probe_name = legacy_probe; in bpf_program__attach_kprobe_opts()
10592 remove_kprobe_event_legacy(legacy_probe, retprobe); in bpf_program__attach_kprobe_opts()
10594 free(legacy_probe); in bpf_program__attach_kprobe_opts()
11366 char errmsg[STRERR_BUFSIZE], *legacy_probe = NULL; in bpf_program__attach_uprobe_opts() local
11453 legacy_probe = strdup(probe_name); in bpf_program__attach_uprobe_opts()
11454 if (!legacy_probe) in bpf_program__attach_uprobe_opts()
11457 pfd = perf_event_uprobe_open_legacy(legacy_probe, retprobe, in bpf_program__attach_uprobe_opts()
11482 perf_link->legacy_probe_name = legacy_probe; in bpf_program__attach_uprobe_opts()
11490 remove_uprobe_event_legacy(legacy_probe, retprobe); in bpf_program__attach_uprobe_opts()
11492 free(legacy_probe); in bpf_program__attach_uprobe_opts()