Home
last modified time | relevance | path

Searched refs:elf_fd (Results 1 - 6 of 6) sorted by relevance

/third_party/libbpf/src/
H A Delf.c35 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument
58 elf_fd->fd = fd; in elf_open()
59 elf_fd->elf = elf; in elf_open()
63 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument
72 elf_fd->elf = pelfio; in elf_open()
73 elf_fd->fd = -1; in elf_open()
79 void elf_close(struct elf_fd *elf_fd) in elf_close() argument
455 struct elf_fd elf_fd; elf_find_func_offset_from_file() local
492 struct elf_fd elf_fd; elf_resolve_syms_offsets() local
587 struct elf_fd elf_fd; elf_resolve_pattern_offsets() local
[all...]
H A Dlibbpf_internal.h664 struct elf_fd { struct
673 int elf_open(const char *binary_path, struct elf_fd *elf_fd);
674 void elf_close(struct elf_fd *elf_fd);
H A Dusdt.c967 struct elf_fd elf_fd; in usdt_manager_attach_usdt() local
973 err = elf_open(path, &elf_fd); in usdt_manager_attach_usdt()
977 err = sanity_check_usdt_elf(elf_fd.elf, path); in usdt_manager_attach_usdt()
990 err = collect_usdt_targets(man, elf_fd.elf, path, pid, usdt_provider, usdt_name, in usdt_manager_attach_usdt()
1114 elf_close(&elf_fd); in usdt_manager_attach_usdt()
1126 elf_close(&elf_fd); in usdt_manager_attach_usdt()
/third_party/elfutils/libdwfl/
H A Dlinux-pid-attach.c345 close (pid_arg->elf_fd); in pid_detach()
449 int elf_fd = open (name, O_RDONLY); in dwfl_linux_proc_attach() local
450 if (elf_fd >= 0) in dwfl_linux_proc_attach()
452 elf = elf_begin (elf_fd, ELF_C_READ_MMAP, NULL); in dwfl_linux_proc_attach()
458 close (elf_fd); in dwfl_linux_proc_attach()
459 elf_fd = -1; in dwfl_linux_proc_attach()
468 close (elf_fd); in dwfl_linux_proc_attach()
475 pid_arg->elf_fd = elf_fd; in dwfl_linux_proc_attach()
483 close (elf_fd); in dwfl_linux_proc_attach()
[all...]
H A DlibdwflP.h430 int elf_fd; member
/third_party/elfutils/debuginfod/
H A Ddebuginfod.cxx1541 extract_section (int elf_fd, int64_t parent_mtime, in extract_section() argument
1569 Elf *elf = elf_begin (elf_fd, ELF_C_READ_MMAP_PRIVATE, NULL); in extract_section()
1625 if (fstat (elf_fd, &fs) != 0) in extract_section()

Completed in 15 milliseconds