Home
last modified time | relevance | path

Searched refs:binary_path (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/tools/lib/bpf/
Delf.c13 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument
20 pr_warn("elf: failed to init libelf for %s\n", binary_path); in elf_open()
23 fd = open(binary_path, O_RDONLY | O_CLOEXEC); in elf_open()
26 pr_warn("elf: failed to open %s: %s\n", binary_path, in elf_open()
32 pr_warn("elf: could not read elf from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_open()
80 Elf *elf, const char *binary_path, in elf_sym_iter_new() argument
90 pr_warn("elf: failed to get ehdr from %s: %s\n", binary_path, elf_errmsg(-1)); in elf_sym_iter_new()
97 binary_path); in elf_sym_iter_new()
108 binary_path, elf_errmsg(-1)); in elf_sym_iter_new()
166 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name) in elf_find_func_offset() argument
[all …]
Dlibbpf_internal.h585 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name);
586 long elf_find_func_offset_from_file(const char *binary_path, const char *name);
593 int elf_open(const char *binary_path, struct elf_fd *elf_fd);
596 int elf_resolve_syms_offsets(const char *binary_path, int cnt,
598 int elf_resolve_pattern_offsets(const char *binary_path, const char *pattern,
Dlibbpf.h580 const char *binary_path,
673 pid_t pid, const char *binary_path,
692 const char *binary_path, size_t func_offset,
722 pid_t pid, const char *binary_path,
Dlibbpf.c10993 char *probe_type = NULL, *binary_path = NULL, *func_name = NULL; in attach_uprobe_multi() local
11000 &probe_type, &binary_path, &func_name); in attach_uprobe_multi()
11008 *link = bpf_program__attach_uprobe_multi(prog, -1, binary_path, func_name, &opts); in attach_uprobe_multi()
11017 free(binary_path); in attach_uprobe_multi()
11023 const char *binary_path, uint64_t offset) in gen_uprobe_legacy_event_name() argument
11027 snprintf(buf, buf_sz, "libbpf_%u_%s_0x%zx", getpid(), binary_path, (size_t)offset); in gen_uprobe_legacy_event_name()
11037 const char *binary_path, size_t offset) in add_uprobe_event_legacy() argument
11042 probe_name, binary_path, offset); in add_uprobe_event_legacy()
11062 const char *binary_path, size_t offset, int pid) in perf_event_uprobe_open_legacy() argument
11068 err = add_uprobe_event_legacy(probe_name, retprobe, binary_path, offset); in perf_event_uprobe_open_legacy()
[all …]
/Linux-v6.6/samples/bpf/
Dtask_fd_query_user.c227 static int test_debug_fs_uprobe(char *binary_path, long offset, bool is_return) in test_debug_fs_uprobe() argument
248 binary_path, offset); in test_debug_fs_uprobe()
284 printf("FAIL: %s, binary_path %s\n", __func__, binary_path); in test_debug_fs_uprobe()
294 if (strcmp(binary_path, buf) != 0) { in test_debug_fs_uprobe()
/Linux-v6.6/tools/perf/util/
Dsrcline.c408 const char *binary_path) in addr2line_subprocess_init() argument
412 "-e", binary_path, in addr2line_subprocess_init()
434 addr2line_path, binary_path, start_command_status); in addr2line_subprocess_init()