Home
last modified time | relevance | path

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

/linux-6.15/tools/lib/bpf/
H A Delf.c25 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument
34 pr_warn("elf: failed to init libelf for %s\n", binary_path); in elf_open()
37 fd = open(binary_path, O_RDONLY | O_CLOEXEC); in elf_open()
98 Elf *elf, const char *binary_path, in elf_sym_iter_new() argument
115 binary_path); in elf_sym_iter_new()
126 binary_path, elf_errmsg(-1)); in elf_sym_iter_new()
338 sym->name, name, binary_path); in elf_find_func_offset()
381 ret = elf_open(binary_path, &elf_fd); in elf_find_func_offset_from_file()
418 err = elf_open(binary_path, &elf_fd); in elf_resolve_syms_offsets()
468 sym->name, sym_offset, binary_path, *offset); in elf_resolve_syms_offsets()
[all …]
H A Dlibbpf_internal.h711 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name);
712 long elf_find_func_offset_from_file(const char *binary_path, const char *name);
719 int elf_open(const char *binary_path, struct elf_fd *elf_fd);
722 int elf_resolve_syms_offsets(const char *binary_path, int cnt,
725 int elf_resolve_pattern_offsets(const char *binary_path, const char *pattern,
H A Dlibbpf.h629 const char *binary_path,
722 pid_t pid, const char *binary_path,
741 const char *binary_path, size_t func_offset,
771 pid_t pid, const char *binary_path,
H A Dlibbpf.c11858 free(binary_path); in attach_uprobe_multi()
12239 if (!binary_path) in bpf_program__attach_uprobe_opts()
12249 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12257 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12266 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12319 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12330 binary_path, func_offset, in bpf_program__attach_uprobe_opts()
12410 free(binary_path); in attach_uprobe()
12418 const char *binary_path, in bpf_program__attach_uprobe() argument
12446 if (!binary_path) in bpf_program__attach_usdt()
[all …]
/linux-6.15/samples/bpf/
H A 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-6.15/tools/testing/selftests/exec/
H A Dcheck-exec.c111 static const char binary_path[] = "./false"; variable
186 fd_in = open(binary_path, O_CLOEXEC | O_RDONLY); in fill_exec_fd()
/linux-6.15/tools/perf/util/
H A Dsrcline.c467 const char *binary_path) in addr2line_subprocess_init() argument
471 "-e", binary_path, in addr2line_subprocess_init()
493 addr2line_path, binary_path, start_command_status); in addr2line_subprocess_init()