Lines Matching defs:binary_path

10827 	/* sanitize binary_path in the probe name */
11455 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL;
11462 &probe_type, &binary_path, &func_name);
11470 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts);
11479 free(binary_path);
11485 const char *binary_path, uint64_t offset)
11489 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx", getpid(), binary_path, (size_t)offset);
11491 /* sanitize binary_path in the probe name */
11499 const char *binary_path, size_t offset)
11504 probe_name, binary_path, offset);
11524 const char *binary_path, size_t offset, int pid)
11530 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset);
11533 binary_path, (size_t)offset, err);
11540 binary_path, offset, err);
11834 const char *binary_path, size_t func_offset,
11856 if (!binary_path)
11859 /* Check if "binary_path" refers to an archive. */
11860 archive_sep = strstr(binary_path, "!/");
11863 libbpf_strlcpy(full_path, binary_path,
11864 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1)));
11866 binary_path = archive_sep + 2;
11867 } else if (!strchr(binary_path, '/')) {
11868 err = resolve_full_path(binary_path, full_path, sizeof(full_path));
11871 prog->name, binary_path, err);
11874 binary_path = full_path;
11881 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path,
11883 binary_path = archive_path;
11885 sym_off = elf_find_func_offset_from_file(binary_path, func_name);
11914 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path,
11923 binary_path, func_offset);
11930 binary_path, func_offset, pid);
11936 binary_path, func_offset,
11947 binary_path, func_offset,
11981 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off;
11988 &probe_type, &binary_path, &func_name);
12018 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts);
12027 free(binary_path);
12035 const char *binary_path,
12040 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts);
12045 pid_t pid, const char *binary_path,
12064 if (!binary_path)
12067 if (!strchr(binary_path, '/')) {
12068 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path));
12071 prog->name, binary_path, err);
12074 binary_path = resolved_path;
12089 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path,