Lines Matching refs:probe_name
10715 static int remove_kprobe_event_legacy(const char *probe_name, bool retprobe);
10716 static int remove_uprobe_event_legacy(const char *probe_name, bool retprobe);
11022 static int add_kprobe_event_legacy(const char *probe_name, bool retprobe, in add_kprobe_event_legacy() argument
11028 probe_name, kfunc_name, offset); in add_kprobe_event_legacy()
11031 static int remove_kprobe_event_legacy(const char *probe_name, bool retprobe) in remove_kprobe_event_legacy() argument
11034 retprobe ? "kretprobes" : "kprobes", probe_name); in remove_kprobe_event_legacy()
11037 static int determine_kprobe_perf_type_legacy(const char *probe_name, bool retprobe) in determine_kprobe_perf_type_legacy() argument
11042 tracefs_path(), retprobe ? "kretprobes" : "kprobes", probe_name); in determine_kprobe_perf_type_legacy()
11047 static int perf_event_kprobe_open_legacy(const char *probe_name, bool retprobe, in perf_event_kprobe_open_legacy() argument
11055 err = add_kprobe_event_legacy(probe_name, retprobe, kfunc_name, offset); in perf_event_kprobe_open_legacy()
11062 type = determine_kprobe_perf_type_legacy(probe_name, retprobe); in perf_event_kprobe_open_legacy()
11090 remove_kprobe_event_legacy(probe_name, retprobe); in perf_event_kprobe_open_legacy()
11141 char probe_name[128]; in probe_kern_syscall_wrapper() local
11143 gen_kprobe_legacy_event_name(probe_name, sizeof(probe_name), syscall_name, 0); in probe_kern_syscall_wrapper()
11144 if (add_kprobe_event_legacy(probe_name, false, syscall_name, 0) < 0) in probe_kern_syscall_wrapper()
11147 (void)remove_kprobe_event_legacy(probe_name, false); in probe_kern_syscall_wrapper()
11200 char probe_name[256]; in bpf_program__attach_kprobe_opts() local
11202 gen_kprobe_legacy_event_name(probe_name, sizeof(probe_name), in bpf_program__attach_kprobe_opts()
11205 legacy_probe = strdup(probe_name); in bpf_program__attach_kprobe_opts()
11725 static inline int add_uprobe_event_legacy(const char *probe_name, bool retprobe, in add_uprobe_event_legacy() argument
11731 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11734 static inline int remove_uprobe_event_legacy(const char *probe_name, bool retprobe) in remove_uprobe_event_legacy() argument
11737 retprobe ? "uretprobes" : "uprobes", probe_name); in remove_uprobe_event_legacy()
11740 static int determine_uprobe_perf_type_legacy(const char *probe_name, bool retprobe) in determine_uprobe_perf_type_legacy() argument
11745 tracefs_path(), retprobe ? "uretprobes" : "uprobes", probe_name); in determine_uprobe_perf_type_legacy()
11750 static int perf_event_uprobe_open_legacy(const char *probe_name, bool retprobe, in perf_event_uprobe_open_legacy() argument
11757 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
11763 type = determine_uprobe_perf_type_legacy(probe_name, retprobe); in perf_event_uprobe_open_legacy()
11789 remove_uprobe_event_legacy(probe_name, retprobe); in perf_event_uprobe_open_legacy()
12140 char probe_name[PATH_MAX + 64]; in bpf_program__attach_uprobe_opts() local
12145 gen_uprobe_legacy_event_name(probe_name, sizeof(probe_name), in bpf_program__attach_uprobe_opts()
12148 legacy_probe = strdup(probe_name); in bpf_program__attach_uprobe_opts()