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: 679152d3a32e305c213f83160c328c37566ae8bc
Checkpoint bpf-next commit: 7745ff9842617323adbe24e71c495d5ebd9aa352
Baseline bpf commit: fe3300897cbfd76c6cb825776e5ac0ca50a91ca4
Checkpoint bpf commit: 1148f9adbe71415836a18a36c1b4ece999ab0973
Andrii Nakryiko (26):
libbpf: Extract and generalize CPU mask parsing logic
libbpf: Don't attach perf_buffer to offline/missing CPUs
libbpf: Don't require root for bpf_object__open()
libbpf: Add generic bpf_program__attach()
libbpf: Move non-public APIs from libbpf.h to libbpf_internal.h
libbpf: Add BPF_EMBED_OBJ macro for embedding BPF .o files
libbpf: Extract common user-facing helpers
libbpf: Expose btf__align_of() API
libbpf: Expose BTF-to-C type declaration emitting API
libbpf: Expose BPF program's function name
libbpf: Refactor global data map initialization
libbpf: Postpone BTF ID finding for TRACING programs to load phase
libbpf: Reduce log level of supported section names dump
libbpf: Add BPF object skeleton support
libbpf: Extract internal map names into constants
libbpf: Support libbpf-provided extern variables
bpftool: Generate externs datasec in BPF skeleton
libbpf: Support flexible arrays in CO-RE
libbpf: Add zlib as a dependency in pkg-config template
libbpf: Reduce log level for custom section names
libbpf: Remove BPF_EMBED_OBJ macro from libbpf.h
libbpf: Add bpf_link__disconnect() API to preserve underlying BPF
resource
libbpf: Put Kconfig externs into .kconfig section
libbpf: Allow to augment system Kconfig through extra optional config
libbpf: BTF is required when externs are present
libbpf: Fix another __u64 printf warning
Jakub Sitnicki (1):
libbpf: Recognize SK_REUSEPORT programs from section name
Prashant Bhole (1):
libbpf: Fix build by renaming variables
Toke Høiland-Jørgensen (4):
libbpf: Print hint about ulimit when getting permission denied error
libbpf: Fix libbpf_common.h when installing libbpf through 'make
install'
libbpf: Add missing newline in opts validation macro
libbpf: Fix printing of ulimit value
include/uapi/linux/btf.h | 7 +-
src/bpf.h | 6 +-
src/bpf_helpers.h | 11 +
src/btf.c | 48 +-
src/btf.h | 29 +-
src/btf_dump.c | 115 ++-
src/libbpf.c | 1673 ++++++++++++++++++++++++++++++++------
src/libbpf.h | 107 +--
src/libbpf.map | 12 +
src/libbpf.pc.template | 2 +-
src/libbpf_common.h | 40 +
src/libbpf_internal.h | 21 +-
12 files changed, 1678 insertions(+), 393 deletions(-)
create mode 100644 src/libbpf_common.h
--
2.17.1
2 lines
41 B
Plaintext
2 lines
41 B
Plaintext
1148f9adbe71415836a18a36c1b4ece999ab0973
|