Symbol: elf_fd
tools/lib/bpf/elf.c
24
int elf_open(const char *binary_path, struct elf_fd *elf_fd)
tools/lib/bpf/elf.c
29
elf_fd->elf = NULL;
tools/lib/bpf/elf.c
30
elf_fd->fd = -1;
tools/lib/bpf/elf.c
377
struct elf_fd elf_fd;
tools/lib/bpf/elf.c
380
ret = elf_open(binary_path, &elf_fd);
tools/lib/bpf/elf.c
383
ret = elf_find_func_offset(elf_fd.elf, binary_path, name);
tools/lib/bpf/elf.c
384
elf_close(&elf_fd);
tools/lib/bpf/elf.c
415
struct elf_fd elf_fd;
tools/lib/bpf/elf.c
417
err = elf_open(binary_path, &elf_fd);
tools/lib/bpf/elf.c
440
err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], st_type);
tools/lib/bpf/elf.c
48
elf_fd->fd = fd;
tools/lib/bpf/elf.c
49
elf_fd->elf = elf;
tools/lib/bpf/elf.c
495
elf_close(&elf_fd);
tools/lib/bpf/elf.c
510
struct elf_fd elf_fd;
tools/lib/bpf/elf.c
513
err = elf_open(binary_path, &elf_fd);
tools/lib/bpf/elf.c
521
err = elf_sym_iter_new(&iter, elf_fd.elf, binary_path, sh_types[i], STT_FUNC);
tools/lib/bpf/elf.c
53
void elf_close(struct elf_fd *elf_fd)
tools/lib/bpf/elf.c
55
if (!elf_fd)
tools/lib/bpf/elf.c
556
elf_close(&elf_fd);
tools/lib/bpf/elf.c
57
elf_end(elf_fd->elf);
tools/lib/bpf/elf.c
58
close(elf_fd->fd);
tools/lib/bpf/libbpf_internal.h
759
int elf_open(const char *binary_path, struct elf_fd *elf_fd);
tools/lib/bpf/libbpf_internal.h
760
void elf_close(struct elf_fd *elf_fd);
tools/lib/bpf/usdt.c
1025
struct elf_fd elf_fd;
tools/lib/bpf/usdt.c
1031
err = elf_open(path, &elf_fd);
tools/lib/bpf/usdt.c
1035
err = sanity_check_usdt_elf(elf_fd.elf, path);
tools/lib/bpf/usdt.c
1048
err = collect_usdt_targets(man, &elf_fd, path, pid, usdt_provider, usdt_name,
tools/lib/bpf/usdt.c
1172
elf_close(&elf_fd);
tools/lib/bpf/usdt.c
1184
elf_close(&elf_fd);
tools/lib/bpf/usdt.c
623
static int collect_usdt_targets(struct usdt_manager *man, struct elf_fd *elf_fd, const char *path,
tools/lib/bpf/usdt.c
631
Elf *elf = elf_fd->elf;
tools/lib/bpf/usdt.c
829
if (man->has_uprobe_syscall && has_nop_combo(elf_fd->fd, usdt_rel_ip)) {