mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-21 00:39:07 +08:00
Syncing latest libbpf commits from kernel repository.
Baseline bpf-next commit: 06a4ec1d9dc652e17ee3ac2ceb6c7cf6c2b75cdd
Checkpoint bpf-next commit: dca5612f8eb9d0cf1dc254eb2adff1f16a588a7d
Baseline bpf commit: 3fb1a96a91120877488071a167d26d76be4be977
Checkpoint bpf commit: 4af7b32f84aa4cd60e39b355bc8a1eab6cd8d8a4
Andrii Nakryiko (17):
libbpf: Make kernel feature probing lazy
libbpf: Factor out common logic of testing and closing FD
libbpf: Sanitize BPF program code for bpf_probe_read_{kernel,
user}[_str]
libbpf: Switch tracing and CO-RE helper macros to
bpf_probe_read_kernel()
libbpf: Detect minimal BTF support and skip BTF loading, if missing
libbpf: Improve error logging for mismatched BTF kind cases
libbpf: Clean up and improve CO-RE reloc logging
libbpf: Improve relocation ambiguity detection
libbpf: Remove any use of reallocarray() in libbpf
tools/bpftool: Remove libbpf_internal.h usage in bpftool
libbpf: Centralize poisoning and poison reallocarray()
tools: Remove feature-libelf-mmap feature detection
libbpf: Implement type-based CO-RE relocations support
libbpf: Implement enum value-based CO-RE relocations
libbpf: Fix detection of BPF helper call instruction
libbpf: Fix libbpf build on compilers missing __builtin_mul_overflow
libbpf: Add perf_buffer APIs for better integration with outside epoll
loop
Tobias Klauser (1):
bpf: Fix two typos in uapi/linux/bpf.h
Toke Høiland-Jørgensen (1):
libbpf: Fix map index used in error message
Xu Wang (2):
libbpf: Convert comma to semicolon
libbpf: Simplify the return expression of build_map_pin_path()
Yonghong Song (1):
bpf: Implement link_query for bpf iterators
include/uapi/linux/bpf.h | 17 +-
src/bpf.c | 3 -
src/bpf_core_read.h | 120 +++-
src/bpf_prog_linfo.c | 3 -
src/bpf_tracing.h | 4 +-
src/btf.c | 31 +-
src/btf.h | 38 --
src/btf_dump.c | 9 +-
src/hashmap.c | 3 +
src/libbpf.c | 1177 ++++++++++++++++++++++++++++----------
src/libbpf.h | 4 +
src/libbpf.map | 8 +
src/libbpf_internal.h | 138 ++++-
src/libbpf_probes.c | 3 -
src/netlink.c | 128 +----
src/nlattr.c | 9 +-
src/ringbuf.c | 8 +-
src/xsk.c | 3 -
18 files changed, 1149 insertions(+), 557 deletions(-)
--
2.24.1
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
dca5612f8eb9d0cf1dc254eb2adff1f16a588a7d
|