From d65dbb412d661acae9d67c3786be5b36005b2ac1 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Fri, 7 Nov 2025 12:10:56 -0800 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: de7342228b7343774d6a9981c2ddbfb5e201044b Checkpoint bpf-next commit: f8c67d8550ee69ce684c7015b2c8c63cda24bbfb Baseline bpf commit: 4d920ed684392ae064af62957d6f5a90312dfaf6 Checkpoint bpf commit: e427054ae7bc8b1268cf1989381a43885795616f Alan Maguire (1): libbpf: Fix parsing of multi-split BTF Andrii Nakryiko (1): libbpf: Fix powerpc's stack register definition in bpf_tracing.h Anton Protopopov (4): libbpf: fix formatting of bpf_object__append_subprog_code bpf, x86: add new map type: instructions array libbpf: Recognize insn_array map type libbpf: support llvm-generated indirect jumps Donald Hunter (1): docs/bpf: Add missing BPF k/uprobe program types to docs Jianyun Gao (4): libbpf: Optimize the redundant code in the bpf_object__init_user_btf_maps() function. libbpf: Fix the incorrect reference to the memlock_rlim variable in the comment. libbpf: Complete the missing @param and @return tags in btf.h libbpf: Update the comment to remove the reference to the deprecated interface bpf_program__load(). Mykyta Yatsenko (2): bpf: widen dynptr size/offset to 64 bit bpf: add _impl suffix for bpf_stream_vprintk() kfunc Xu Kuohai (1): bpf: Add overwrite mode for BPF ring buffer docs/program_types.rst | 18 +++ include/uapi/linux/bpf.h | 33 ++++- src/bpf.c | 2 +- src/bpf_helpers.h | 28 ++-- src/bpf_tracing.h | 2 +- src/btf.c | 4 +- src/btf.h | 8 ++ src/libbpf.c | 296 +++++++++++++++++++++++++++++++++++---- src/libbpf_internal.h | 2 + src/libbpf_probes.c | 4 + src/linker.c | 3 + 11 files changed, 353 insertions(+), 47 deletions(-) Signed-off-by: Andrii Nakryiko --- BPF-CHECKPOINT-COMMIT | 2 +- CHECKPOINT-COMMIT | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BPF-CHECKPOINT-COMMIT b/BPF-CHECKPOINT-COMMIT index 0e6ee49..461979b 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -4d920ed684392ae064af62957d6f5a90312dfaf6 +e427054ae7bc8b1268cf1989381a43885795616f diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 65d8de4..4f0a2c1 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -de7342228b7343774d6a9981c2ddbfb5e201044b +f8c67d8550ee69ce684c7015b2c8c63cda24bbfb