Searched refs:elf_fd (Results 1 – 3 of 3) sorted by relevance
| /tools/lib/bpf/ |
| A D | elf.c | 25 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument 30 elf_fd->elf = NULL; in elf_open() 31 elf_fd->fd = -1; in elf_open() 49 elf_fd->fd = fd; in elf_open() 50 elf_fd->elf = elf; in elf_open() 54 void elf_close(struct elf_fd *elf_fd) in elf_close() argument 56 if (!elf_fd) in elf_close() 59 close(elf_fd->fd); in elf_close() 378 struct elf_fd elf_fd; in elf_find_func_offset_from_file() local 416 struct elf_fd elf_fd; in elf_resolve_syms_offsets() local [all …]
|
| A D | libbpf_internal.h | 723 struct elf_fd { struct 728 int elf_open(const char *binary_path, struct elf_fd *elf_fd); argument 729 void elf_close(struct elf_fd *elf_fd);
|
| A D | usdt.c | 969 struct elf_fd elf_fd; in usdt_manager_attach_usdt() local 975 err = elf_open(path, &elf_fd); in usdt_manager_attach_usdt() 979 err = sanity_check_usdt_elf(elf_fd.elf, path); in usdt_manager_attach_usdt() 992 err = collect_usdt_targets(man, elf_fd.elf, path, pid, usdt_provider, usdt_name, in usdt_manager_attach_usdt() 1116 elf_close(&elf_fd); in usdt_manager_attach_usdt() 1128 elf_close(&elf_fd); in usdt_manager_attach_usdt()
|
Completed in 10 milliseconds