Lines Matching refs:binary_path

11832 	char *probe_type = NULL, *binary_path = NULL, *func_name = NULL;  in attach_uprobe_multi()  local
11839 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
11849 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
11858 free(binary_path); in attach_uprobe_multi()
11864 const char *binary_path, uint64_t offset) in gen_uprobe_legacy_event_name() argument
11868 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx", getpid(), binary_path, (size_t)offset); in gen_uprobe_legacy_event_name()
11878 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
11883 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11903 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
11909 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
11912 binary_path, (size_t)offset, errstr(err)); in perf_event_uprobe_open_legacy()
11919 binary_path, offset, errstr(err)); in perf_event_uprobe_open_legacy()
12217 const char *binary_path, size_t func_offset, in bpf_program__attach_uprobe_opts() argument
12239 if (!binary_path) in bpf_program__attach_uprobe_opts()
12243 archive_sep = strstr(binary_path, "!/"); in bpf_program__attach_uprobe_opts()
12246 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
12247 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1))); in bpf_program__attach_uprobe_opts()
12249 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12250 } else if (!strchr(binary_path, '/')) { in bpf_program__attach_uprobe_opts()
12251 err = resolve_full_path(binary_path, full_path, sizeof(full_path)); in bpf_program__attach_uprobe_opts()
12254 prog->name, binary_path, errstr(err)); in bpf_program__attach_uprobe_opts()
12257 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12264 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
12266 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12268 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
12297 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path, in bpf_program__attach_uprobe_opts()
12306 binary_path, func_offset); in bpf_program__attach_uprobe_opts()
12313 binary_path, func_offset, pid); in bpf_program__attach_uprobe_opts()
12319 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12330 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12364 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off; in attach_uprobe() local
12371 &probe_type, &binary_path, &func_name); in attach_uprobe()
12401 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts); in attach_uprobe()
12410 free(binary_path); in attach_uprobe()
12418 const char *binary_path, in bpf_program__attach_uprobe() argument
12423 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts); in bpf_program__attach_uprobe()
12427 pid_t pid, const char *binary_path, in bpf_program__attach_usdt() argument
12446 if (!binary_path) in bpf_program__attach_usdt()
12449 if (!strchr(binary_path, '/')) { in bpf_program__attach_usdt()
12450 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path)); in bpf_program__attach_usdt()
12453 prog->name, binary_path, errstr(err)); in bpf_program__attach_usdt()
12456 binary_path = resolved_path; in bpf_program__attach_usdt()
12471 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path, in bpf_program__attach_usdt()