linux-mainline/tools/lib/bpf
Jiri Olsa e613d1d0f7 libbpf: Add elf_resolve_pattern_offsets function
Adding elf_resolve_pattern_offsets function that looks up
offsets for symbols specified by pattern argument.

The 'pattern' argument allows wildcards (*?' supported).

Offsets are returned in allocated array together with its
size and needs to be released by the caller.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/r/20230809083440.3209381-13-jolsa@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
2023-08-21 15:51:26 -07:00
..
.gitignore
bpf_core_read.h
bpf_endian.h
bpf_gen_internal.h
bpf_helpers.h
bpf_prog_linfo.c
bpf_tracing.h libbpf: Use local includes inside the library 2023-08-04 15:06:46 -07:00
bpf.c libbpf: Add link-based API for tcx 2023-07-19 10:07:28 -07:00
bpf.h libbpf: Add link-based API for tcx 2023-07-19 10:07:28 -07:00
btf_dump.c
btf.c libbpf: Ensure libbpf always opens files with O_CLOEXEC 2023-05-26 12:05:32 +02:00
btf.h
Build libbpf: Move elf_find_func_offset* functions to elf object 2023-08-21 15:51:25 -07:00
elf.c libbpf: Add elf_resolve_pattern_offsets function 2023-08-21 15:51:26 -07:00
gen_loader.c
hashmap.c
hashmap.h libbpf: Remove HASHMAP_INIT static initialization helper 2023-07-11 09:40:05 -07:00
libbpf_common.h libbpf: Add helper macro to clear opts structs 2023-07-19 10:07:28 -07:00
libbpf_errno.c
libbpf_internal.h libbpf: Add elf_resolve_pattern_offsets function 2023-08-21 15:51:26 -07:00
libbpf_legacy.h
libbpf_probes.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2023-06-08 11:35:14 -07:00
libbpf_version.h
libbpf.c libbpf: Add elf_resolve_pattern_offsets function 2023-08-21 15:51:26 -07:00
libbpf.h libbpf: Add link-based API for tcx 2023-07-19 10:07:28 -07:00
libbpf.map libbpf: Add link-based API for tcx 2023-07-19 10:07:28 -07:00
libbpf.pc.template
linker.c
Makefile libbpf: fix typos in Makefile 2023-08-02 13:58:51 -07:00
netlink.c xsk: add new netlink attribute dedicated for ZC max frags 2023-07-19 09:56:49 -07:00
nlattr.c
nlattr.h
relo_core.c
relo_core.h
ringbuf.c
skel_internal.h
str_error.c
str_error.h
strset.c
strset.h
usdt.bpf.h libbpf: Use local includes inside the library 2023-08-04 15:06:46 -07:00
usdt.c libbpf: Add elf_open/elf_close functions 2023-08-21 15:51:26 -07:00
zip.c
zip.h