From 9aea1da2bbf3c90bfce5a38a631decddf5f64078 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20M=C3=BCller?= Date: Wed, 24 May 2023 13:23:42 -0700 Subject: [PATCH] sync: latest libbpf changes from kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 2ddade322925641ee2a75f13665c51f2e74d7791 Checkpoint bpf-next commit: fcf1fa29c8ea75bf104c35ce29b65ce2ba6a6a9d Baseline bpf commit: 71b547f561247897a0a14f3082730156c0533fed Checkpoint bpf commit: f726e03564ef4e754dd93beb54303e2e1671049e Alexey Dobriyan (1): ELF: fix all "Elf" typos Andrii Nakryiko (4): libbpf: fix offsetof() and container_of() to work with CO-RE libbpf: Start v1.3 development cycle bpf: Support O_PATH FDs in BPF_OBJ_PIN and BPF_OBJ_GET commands libbpf: Add opts-based bpf_obj_pin() API and add support for path_fd Florian Westphal (1): tools: bpftool: print netfilter link info JP Kobryn (1): libbpf: Add capability for resizing datasec maps Jiri Olsa (1): libbpf: Store zero fd to fd_array for loader kfunc relocation Kenjiro Nakayama (1): libbpf: Fix comment about arc and riscv arch in bpf_tracing.h Martin KaFai Lau (1): libbpf: btf_dump_type_data_check_overflow needs to consider BTF_MEMBER_BITFIELD_SIZE include/uapi/linux/bpf.h | 24 +++++++ src/bpf.c | 17 ++++- src/bpf.h | 18 ++++- src/bpf_helpers.h | 15 +++-- src/bpf_tracing.h | 3 +- src/btf_dump.c | 22 +++++- src/gen_loader.c | 14 ++-- src/libbpf.c | 140 ++++++++++++++++++++++++++++++++++++--- src/libbpf.h | 18 ++++- src/libbpf.map | 5 ++ src/libbpf_probes.c | 1 + src/libbpf_version.h | 2 +- src/usdt.c | 2 +- 13 files changed, 246 insertions(+), 35 deletions(-) Signed-off-by: Daniel Müller --- 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 9cef0b9..2ce0eb3 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -71b547f561247897a0a14f3082730156c0533fed +f726e03564ef4e754dd93beb54303e2e1671049e diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 4a7588f..1dc8b3a 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -2ddade322925641ee2a75f13665c51f2e74d7791 +fcf1fa29c8ea75bf104c35ce29b65ce2ba6a6a9d