From 28f7c9cf68bce0621175cc7f0762204dd7a7ea05 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 25 Mar 2026 23:43:29 -0700 Subject: [PATCH] libbpf: Upgrade to 1.7.0 release User space-side features * bpf_map__set_exclusive_program() and bpf_map__exclusive_program() APIs for exclusive map creation; * bpf_program__assoc_struct_ops() and bpf_prog_assoc_struct_ops() APIs to associate a non-struct_ops BPF program with a struct_ops map; * btf__permute() API to rearrange BTF types in-place according to a provided mapping; * BTF type lookup optimization: binary search for btf__find_by_name() and btf__find_by_name_kind(); * btf__add_btf() now accepts split BTF sources; * fsession support (SEC("fsession+") / SEC("fsession.s+")); * BPF_F_CPU and BPF_F_ALL_CPUS flags support for per-CPU map operations; * arena globals are moved to the end of the arena mmap region if kernel supports it; * support for LLVM-generated indirect jump tables (BPF ISA v4) via .jumptables ELF section and BPF_MAP_TYPE_INSN_ARRAY maps; * avoid expensive kallsyms parsing when kprobe.session target is an exact function match; * new dont_enable option in struct bpf_perf_event_opts to suppress perf event auto-enablement; BPF-side features * USDT SIB (Scale-Index-Base) addressing support; * dynptr helper signatures (bpf_dynptr_from_mem, bpf_dynptr_read, bpf_dynptr_write, bpf_dynptr_data) widened from 32-bit to 64-bit size/offset parameters; Bug fixes * As usual, a number of bug fixes included, see full commit log for details. Signed-off-by: Khem Raj --- .../libbpf/{libbpf_1.6.2.bb => libbpf_1.7.0.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta-oe/recipes-kernel/libbpf/{libbpf_1.6.2.bb => libbpf_1.7.0.bb} (91%) diff --git a/meta-oe/recipes-kernel/libbpf/libbpf_1.6.2.bb b/meta-oe/recipes-kernel/libbpf/libbpf_1.7.0.bb similarity index 91% rename from meta-oe/recipes-kernel/libbpf/libbpf_1.6.2.bb rename to meta-oe/recipes-kernel/libbpf/libbpf_1.7.0.bb index 28732b1e66..f6cb024706 100644 --- a/meta-oe/recipes-kernel/libbpf/libbpf_1.6.2.bb +++ b/meta-oe/recipes-kernel/libbpf/libbpf_1.7.0.bb @@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://../LICENSE.LGPL-2.1;md5=b370887980db5dd40659b50909238 DEPENDS = "zlib elfutils" -SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=${BPN}-${PV}" -SRCREV = "45e89348ec74617c11cd5241ccd0ffc91dfd03c4" +SRC_URI = "git://github.com/libbpf/libbpf.git;protocol=https;branch=master;tag=v${PV}" +SRCREV = "f5dcbae736e5d7f83a35718e01be1a8e3010fa39" PACKAGE_ARCH = "${MACHINE_ARCH}" COMPATIBLE_HOST = "(x86_64|i.86|arm|aarch64|riscv64|powerpc|powerpc64|mips64).*-linux"