• Home
  • Raw
  • Download

Lines Matching refs:binary_path

11735 	char *probe_type = NULL, *binary_path = NULL, *func_name = NULL;  in attach_uprobe_multi()  local
11742 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
11750 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
11759 free(binary_path); in attach_uprobe_multi()
11765 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
11770 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11790 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
11796 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
11799 binary_path, (size_t)offset, err); in perf_event_uprobe_open_legacy()
11806 binary_path, offset, err); in perf_event_uprobe_open_legacy()
12096 const char *binary_path, size_t func_offset, in bpf_program__attach_uprobe_opts() argument
12118 if (!binary_path) in bpf_program__attach_uprobe_opts()
12122 archive_sep = strstr(binary_path, "!/"); in bpf_program__attach_uprobe_opts()
12125 libbpf_strlcpy(full_path, binary_path, in bpf_program__attach_uprobe_opts()
12126 min(sizeof(full_path), (size_t)(archive_sep - binary_path + 1))); in bpf_program__attach_uprobe_opts()
12128 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12129 } else if (!strchr(binary_path, '/')) { in bpf_program__attach_uprobe_opts()
12130 err = resolve_full_path(binary_path, full_path, sizeof(full_path)); in bpf_program__attach_uprobe_opts()
12133 prog->name, binary_path, err); in bpf_program__attach_uprobe_opts()
12136 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12143 sym_off = elf_find_func_offset_from_archive(archive_path, binary_path, in bpf_program__attach_uprobe_opts()
12145 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12147 sym_off = elf_find_func_offset_from_file(binary_path, func_name); in bpf_program__attach_uprobe_opts()
12176 pfd = perf_event_open_probe(true /* uprobe */, retprobe, binary_path, in bpf_program__attach_uprobe_opts()
12185 strrchr(binary_path, '/') ? : binary_path, in bpf_program__attach_uprobe_opts()
12193 binary_path, func_offset, pid); in bpf_program__attach_uprobe_opts()
12199 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12210 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12244 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL, *func_off; in attach_uprobe() local
12251 &probe_type, &binary_path, &func_name); in attach_uprobe()
12281 *link = bpf_program__attach_uprobe_opts(prog, -1, binary_path, offset, &opts); in attach_uprobe()
12290 free(binary_path); in attach_uprobe()
12298 const char *binary_path, in bpf_program__attach_uprobe() argument
12303 return bpf_program__attach_uprobe_opts(prog, pid, binary_path, func_offset, &opts); in bpf_program__attach_uprobe()
12307 pid_t pid, const char *binary_path, in bpf_program__attach_usdt() argument
12326 if (!binary_path) in bpf_program__attach_usdt()
12329 if (!strchr(binary_path, '/')) { in bpf_program__attach_usdt()
12330 err = resolve_full_path(binary_path, resolved_path, sizeof(resolved_path)); in bpf_program__attach_usdt()
12333 prog->name, binary_path, err); in bpf_program__attach_usdt()
12336 binary_path = resolved_path; in bpf_program__attach_usdt()
12351 link = usdt_manager_attach_usdt(obj->usdt_man, prog, pid, binary_path, in bpf_program__attach_usdt()