Lines Matching refs:binary_path

11767 	char *probe_type = NULL, *binary_path = NULL, *func_name = NULL;  in attach_uprobe_multi()  local
11774 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
11784 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
11793 free(binary_path); in attach_uprobe_multi()
11799 const char *binary_path, uint64_t offset) in gen_uprobe_legacy_event_name() argument
11803 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx", getpid(), binary_path, (size_t)offset); in gen_uprobe_legacy_event_name()
11813 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
11818 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11838 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
11844 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
11847 binary_path, (size_t)offset, errstr(err)); in perf_event_uprobe_open_legacy()
11854 binary_path, offset, errstr(err)); in perf_event_uprobe_open_legacy()
12152 const char *binary_path, size_t func_offset, in bpf_program__attach_uprobe_opts() argument
12174 if (!binary_path) in bpf_program__attach_uprobe_opts()
12178 archive_sep = strstr(binary_path, "!/"); in bpf_program__attach_uprobe_opts()
12181 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
12182 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1))); in bpf_program__attach_uprobe_opts()
12184 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12185 } else if (!strchr(binary_path, '/')) { in bpf_program__attach_uprobe_opts()
12186 err = resolve_full_path(binary_path, full_path, sizeof(full_path)); in bpf_program__attach_uprobe_opts()
12189 prog->name, binary_path, errstr(err)); in bpf_program__attach_uprobe_opts()
12192 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12199 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
12201 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12203 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
12232 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path, in bpf_program__attach_uprobe_opts()
12241 binary_path, func_offset); in bpf_program__attach_uprobe_opts()
12248 binary_path, func_offset, pid); in bpf_program__attach_uprobe_opts()
12254 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12265 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12299 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off; in attach_uprobe() local
12306 &probe_type, &binary_path, &func_name); in attach_uprobe()
12336 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts); in attach_uprobe()
12345 free(binary_path); in attach_uprobe()
12353 const char *binary_path, in bpf_program__attach_uprobe() argument
12358 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts); in bpf_program__attach_uprobe()
12362 pid_t pid, const char *binary_path, in bpf_program__attach_usdt() argument
12381 if (!binary_path) in bpf_program__attach_usdt()
12384 if (!strchr(binary_path, '/')) { in bpf_program__attach_usdt()
12385 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path)); in bpf_program__attach_usdt()
12388 prog->name, binary_path, errstr(err)); in bpf_program__attach_usdt()
12391 binary_path = resolved_path; in bpf_program__attach_usdt()
12406 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path, in bpf_program__attach_usdt()