Lines Matching refs:binary_path

11553 	char *probe_type = NULL, *binary_path = NULL, *func_name = NULL;  in attach_uprobe_multi()  local
11560 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
11568 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
11577 free(binary_path); in attach_uprobe_multi()
11583 const char *binary_path, uint64_t offset) in gen_uprobe_legacy_event_name() argument
11587 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx", getpid(), binary_path, (size_t)offset); in gen_uprobe_legacy_event_name()
11597 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
11602 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11622 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
11628 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
11631 binary_path, (size_t)offset, err); in perf_event_uprobe_open_legacy()
11638 binary_path, offset, err); in perf_event_uprobe_open_legacy()
11922 const char *binary_path, size_t func_offset, in bpf_program__attach_uprobe_opts() argument
11944 if (!binary_path) in bpf_program__attach_uprobe_opts()
11948 archive_sep = strstr(binary_path, "!/"); in bpf_program__attach_uprobe_opts()
11951 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
11952 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1))); in bpf_program__attach_uprobe_opts()
11954 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
11955 } else if (!strchr(binary_path, '/')) { in bpf_program__attach_uprobe_opts()
11956 err = resolve_full_path(binary_path, full_path, sizeof(full_path)); in bpf_program__attach_uprobe_opts()
11959 prog->name, binary_path, err); in bpf_program__attach_uprobe_opts()
11962 binary_path = full_path; in bpf_program__attach_uprobe_opts()
11969 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
11971 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
11973 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
12002 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path, in bpf_program__attach_uprobe_opts()
12011 binary_path, func_offset); in bpf_program__attach_uprobe_opts()
12018 binary_path, func_offset, pid); in bpf_program__attach_uprobe_opts()
12024 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12035 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12069 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off; in attach_uprobe() local
12076 &probe_type, &binary_path, &func_name); in attach_uprobe()
12106 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts); in attach_uprobe()
12115 free(binary_path); in attach_uprobe()
12123 const char *binary_path, in bpf_program__attach_uprobe() argument
12128 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts); in bpf_program__attach_uprobe()
12132 pid_t pid, const char *binary_path, in bpf_program__attach_usdt() argument
12151 if (!binary_path) in bpf_program__attach_usdt()
12154 if (!strchr(binary_path, '/')) { in bpf_program__attach_usdt()
12155 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path)); in bpf_program__attach_usdt()
12158 prog->name, binary_path, err); in bpf_program__attach_usdt()
12161 binary_path = resolved_path; in bpf_program__attach_usdt()
12176 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path, in bpf_program__attach_usdt()