Lines Matching refs:legacy_probe
11276 char *legacy_probe = NULL; in bpf_program__attach_kprobe_opts() local
11321 legacy_probe = strdup(probe_name); in bpf_program__attach_kprobe_opts()
11322 if (!legacy_probe) in bpf_program__attach_kprobe_opts()
11325 pfd = perf_event_kprobe_open_legacy(legacy_probe, retprobe, func_name, in bpf_program__attach_kprobe_opts()
11349 perf_link->legacy_probe_name = legacy_probe; in bpf_program__attach_kprobe_opts()
11358 remove_kprobe_event_legacy(legacy_probe, retprobe); in bpf_program__attach_kprobe_opts()
11360 free(legacy_probe); in bpf_program__attach_kprobe_opts()
12221 char *legacy_probe = NULL; in bpf_program__attach_uprobe_opts() local
12308 legacy_probe = strdup(probe_name); in bpf_program__attach_uprobe_opts()
12309 if (!legacy_probe) in bpf_program__attach_uprobe_opts()
12312 pfd = perf_event_uprobe_open_legacy(legacy_probe, retprobe, in bpf_program__attach_uprobe_opts()
12337 perf_link->legacy_probe_name = legacy_probe; in bpf_program__attach_uprobe_opts()
12345 remove_uprobe_event_legacy(legacy_probe, retprobe); in bpf_program__attach_uprobe_opts()
12347 free(legacy_probe); in bpf_program__attach_uprobe_opts()