From 374f7807e197ff35b5c234478e89fddd03e6d0ef Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Tue, 29 Apr 2025 10:21:47 -0700 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 25601e85441dd91cf7973b002f27af4c5b8691ea Checkpoint bpf-next commit: 8e64c387c942229c551d0f23de4d9993d3a2acb6 Baseline bpf commit: 3f8ad18f8184 Checkpoint bpf commit: b4432656b36e5cc1d50a1f2dc15357543add530e Alan Maguire (1): libbpf: Add identical pointer detection to btf_dedup_is_equiv() Anton Protopopov (2): bpf: Fix a comment describing bpf_attr libbpf: Add likely/unlikely macros and use them in selftests Carlos Llamas (1): libbpf: Fix implicit memfd_create() for bionic Feng Yang (1): libbpf: Fix event name too long error Ihor Solodrai (1): libbpf: Verify section type in btf_find_elf_sections Jonathan Wiepert (1): Use thread-safe function pointer in libbpf_print Mykyta Yatsenko (1): libbpf: Add getters for BTF.ext func and line info Paul Chaignon (2): bpf: Clarify role of BPF_F_RECOMPUTE_CSUM bpf: Clarify the meaning of BPF_F_PSEUDO_HDR Tao Chen (1): libbpf: Remove sample_period init in perf_buffer Viktor Malik (1): libbpf: Fix buffer overflow in bpf_object__init_prog include/uapi/linux/bpf.h | 18 +++++---- src/bpf_helpers.h | 8 ++++ src/btf.c | 22 +++++++++++ src/libbpf.c | 81 +++++++++++++++++++++------------------- src/libbpf.h | 6 +++ src/libbpf.map | 4 ++ src/libbpf_internal.h | 9 +++++ src/linker.c | 2 +- 8 files changed, 103 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 d259437..b0ce4e8 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -0c2623cef4f49e1ef6a908a389eea86130d11057 +b4432656b36e5cc1d50a1f2dc15357543add530e diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 763cc66..3fe0407 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -25601e85441dd91cf7973b002f27af4c5b8691ea +8e64c387c942229c551d0f23de4d9993d3a2acb6