Lines Matching refs:binary_path
11867 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL; in attach_uprobe_multi() local
11874 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
11884 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
11893 free(binary_path); in attach_uprobe_multi()
11899 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
11904 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11924 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
11930 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
11933 binary_path, (size_t)offset, errstr(err)); in perf_event_uprobe_open_legacy()
11940 binary_path, offset, errstr(err)); in perf_event_uprobe_open_legacy()
12238 const char *binary_path, size_t func_offset, in bpf_program__attach_uprobe_opts() argument
12260 if (!binary_path) in bpf_program__attach_uprobe_opts()
12264 archive_sep = strstr(binary_path, "!/"); in bpf_program__attach_uprobe_opts()
12267 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
12268 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1))); in bpf_program__attach_uprobe_opts()
12270 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12271 } else if (!strchr(binary_path, '/')) { in bpf_program__attach_uprobe_opts()
12272 err = resolve_full_path(binary_path, full_path, sizeof(full_path)); in bpf_program__attach_uprobe_opts()
12275 prog->name, binary_path, errstr(err)); in bpf_program__attach_uprobe_opts()
12278 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12285 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
12287 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12289 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
12318 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path, in bpf_program__attach_uprobe_opts()
12327 strrchr(binary_path, '/') ? : binary_path, in bpf_program__attach_uprobe_opts()
12335 binary_path, func_offset, pid); in bpf_program__attach_uprobe_opts()
12341 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12352 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12386 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off; in attach_uprobe() local
12393 &probe_type, &binary_path, &func_name); in attach_uprobe()
12423 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts); in attach_uprobe()
12432 free(binary_path); in attach_uprobe()
12440 const char *binary_path, in bpf_program__attach_uprobe() argument
12445 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts); in bpf_program__attach_uprobe()
12449 pid_t pid, const char *binary_path, in bpf_program__attach_usdt() argument
12468 if (!binary_path) in bpf_program__attach_usdt()
12471 if (!strchr(binary_path, '/')) { in bpf_program__attach_usdt()
12472 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path)); in bpf_program__attach_usdt()
12475 prog->name, binary_path, errstr(err)); in bpf_program__attach_usdt()
12478 binary_path = resolved_path; in bpf_program__attach_usdt()
12493 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path, in bpf_program__attach_usdt()