Home
last modified time | relevance | path

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

/tools/lib/bpf/
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 …]
A Dlibbpf_internal.h720 long elf_find_func_offset(Elf *elf, const char *binary_path, const char *name);
721 long elf_find_func_offset_from_file(const char *binary_path, const char *name);
728 int elf_open(const char *binary_path, struct elf_fd *elf_fd);
731 int elf_resolve_syms_offsets(const char *binary_path, int cnt,
734 int elf_resolve_pattern_offsets(const char *binary_path, const char *pattern,
A Dlibbpf.h631 const char *binary_path,
724 pid_t pid, const char *binary_path,
743 const char *binary_path, size_t func_offset,
773 pid_t pid, const char *binary_path,
A Dlibbpf.c11893 free(binary_path); in attach_uprobe_multi()
12260 if (!binary_path) in bpf_program__attach_uprobe_opts()
12270 binary_path = archive_sep + 2; in bpf_program__attach_uprobe_opts()
12278 binary_path = full_path; in bpf_program__attach_uprobe_opts()
12287 binary_path = archive_path; in bpf_program__attach_uprobe_opts()
12327 strrchr(binary_path, '/') ? : binary_path, 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()
12432 free(binary_path); in attach_uprobe()
12468 if (!binary_path) in bpf_program__attach_usdt()
[all …]
/tools/testing/selftests/exec/
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()
/tools/perf/util/
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()

Completed in 48 milliseconds