Home
last modified time | relevance | path

Searched refs:elf_fd (Results 1 – 3 of 3) sorted by relevance

/linux/tools/lib/bpf/
A Delf.c25 int elf_open(const char *binary_path, struct elf_fd *elf_fd) in elf_open() argument
31 elf_fd->elf = NULL; in elf_open()
32 elf_fd->fd = -1; in elf_open()
51 elf_fd->fd = fd; in elf_open()
52 elf_fd->elf = elf; in elf_open()
56 void elf_close(struct elf_fd *elf_fd) in elf_close() argument
58 if (!elf_fd) in elf_close()
61 close(elf_fd->fd); in elf_close()
380 struct elf_fd elf_fd; in elf_find_func_offset_from_file() local
418 struct elf_fd elf_fd; in elf_resolve_syms_offsets() local
[all …]
A Dlibbpf_internal.h674 struct elf_fd { struct
679 int elf_open(const char *binary_path, struct elf_fd *elf_fd); argument
680 void elf_close(struct elf_fd *elf_fd);
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()

Completed in 11 milliseconds