Lines Matching refs:binary_path

12218 	char *probe_type = NULL, *binary_path = NULL, *func_name = NULL;  in attach_uprobe_multi()  local
12225 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
12235 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
12244 free(binary_path); in attach_uprobe_multi()
12250 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
12255 probe_name, binary_path, offset); in add_uprobe_event_legacy()
12275 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
12281 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
12284 binary_path, (size_t)offset, errstr(err)); in perf_event_uprobe_open_legacy()
12291 binary_path, offset, errstr(err)); in perf_event_uprobe_open_legacy()
12587 const char *binary_path, size_t func_offset, in bpf_program__attach_uprobe_opts() argument
12609 if (!binary_path) in bpf_program__attach_uprobe_opts()
12613 archive_sep = strstr(binary_path, "!/"); in bpf_program__attach_uprobe_opts()
12616 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
12617 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1))); in bpf_program__attach_uprobe_opts()
12619 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12620 } else if (!strchr(binary_path, '/')) { in bpf_program__attach_uprobe_opts()
12621 err = resolve_full_path(binary_path, full_path, sizeof(full_path)); in bpf_program__attach_uprobe_opts()
12624 prog->name, binary_path, errstr(err)); in bpf_program__attach_uprobe_opts()
12627 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12634 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
12636 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12638 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
12667 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path, in bpf_program__attach_uprobe_opts()
12676 strrchr(binary_path, '/') ? : binary_path, in bpf_program__attach_uprobe_opts()
12684 binary_path, func_offset, pid); in bpf_program__attach_uprobe_opts()
12690 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12701 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12735 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off; in attach_uprobe() local
12742 &probe_type, &binary_path, &func_name); in attach_uprobe()
12772 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts); in attach_uprobe()
12781 free(binary_path); in attach_uprobe()
12789 const char *binary_path, in bpf_program__attach_uprobe() argument
12794 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts); in bpf_program__attach_uprobe()
12798 pid_t pid, const char *binary_path, in bpf_program__attach_usdt() argument
12817 if (!binary_path) in bpf_program__attach_usdt()
12820 if (!strchr(binary_path, '/')) { in bpf_program__attach_usdt()
12821 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path)); in bpf_program__attach_usdt()
12824 prog->name, binary_path, errstr(err)); in bpf_program__attach_usdt()
12827 binary_path = resolved_path; in bpf_program__attach_usdt()
12842 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path, in bpf_program__attach_usdt()