mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-13 21:09:07 +08:00
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 531876c80004ecff7bfdbd8ba6c6b48835ef5e22
Checkpoint bpf-next commit: a12978712d9001b060bcc10eaae42ad5102abe2b
Baseline bpf commit: 62da3acd28955e7299babebdfcb14243b789e773
Checkpoint bpf commit: b1c4b4d45263241ec6c2405a8df8265d4b58e707
Alan Maguire (6):
libbpf: Add btf__distill_base() creating split BTF with distilled base
BTF
libbpf: Split BTF relocation
libbpf: BTF relocation followup fixing naming, loop logic
libbpf: Split field iter code into its own file kernel
libbpf,bpf: Share BTF relocate-related code with kernel
libbpf: Fix clang compilation error in btf_relocate.c
Andrii Nakryiko (4):
libbpf: Add BTF field iterator
libbpf: Make use of BTF field iterator in BPF linker code
libbpf: Make use of BTF field iterator in BTF handling code
libbpf: Remove callback-based type/string BTF field visitor helpers
Antoine Tenart (1):
libbpf: Skip base btf sanity checks
Donglin Peng (1):
libbpf: Checking the btf_type kind when fixing variable offsets
Eduard Zingerman (1):
libbpf: Make btf_parse_elf process .BTF.base transparently
Mykyta Yatsenko (1):
libbpf: Auto-attach struct_ops BPF maps in BPF skeleton
Vadim Fedorenko (1):
bpf: Add CHECKSUM_COMPLETE to bpf test progs
include/uapi/linux/bpf.h | 2 +
src/btf.c | 696 +++++++++++++++++++++++++++------------
src/btf.h | 36 ++
src/btf_iter.c | 177 ++++++++++
src/btf_relocate.c | 519 +++++++++++++++++++++++++++++
src/libbpf.c | 64 +++-
src/libbpf.h | 18 +
src/libbpf.map | 4 +
src/libbpf_internal.h | 29 +-
src/linker.c | 69 ++--
10 files changed, 1378 insertions(+), 236 deletions(-)
create mode 100644 src/btf_iter.c
create mode 100644 src/btf_relocate.c
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
a12978712d9001b060bcc10eaae42ad5102abe2b
|