From e398e7eaf4e27205181f8f4b4dc8ff6e6dfe3171 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Wed, 25 Jan 2023 11:50:34 -0800 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 7b43df6c6ec38c9097420902a1c8165c4b25bf70 Checkpoint bpf-next commit: a5f6b9d577eba18601c14bba2dbff4a9b76af962 Baseline bpf commit: 54c3f1a81421f85e60ae2eaae7be3727a09916ee Checkpoint bpf commit: e8c8fd9b8393d7064152c8806f5ac446d760a23e Alexei Starovoitov (1): libbpf: Restore errno after pr_warn. Andrii Nakryiko (24): libbpf: start v1.2 development cycle libbpf: Add support for fetching up to 8 arguments in kprobes libbpf: Add 6th argument support for x86-64 in bpf_tracing.h libbpf: Fix arm and arm64 specs in bpf_tracing.h libbpf: Complete mips spec in bpf_tracing.h libbpf: Complete powerpc spec in bpf_tracing.h libbpf: Complete sparc spec in bpf_tracing.h libbpf: Complete riscv arch spec in bpf_tracing.h libbpf: Fix and complete ARC spec in bpf_tracing.h libbpf: Complete LoongArch (loongarch) spec in bpf_tracing.h libbpf: Add BPF_UPROBE and BPF_URETPROBE macro aliases libbpf: Improve syscall tracing support in bpf_tracing.h libbpf: Define x86-64 syscall regs spec in bpf_tracing.h libbpf: Define i386 syscall regs spec in bpf_tracing.h libbpf: Define s390x syscall regs spec in bpf_tracing.h libbpf: Define arm syscall regs spec in bpf_tracing.h libbpf: Define arm64 syscall regs spec in bpf_tracing.h libbpf: Define mips syscall regs spec in bpf_tracing.h libbpf: Define powerpc syscall regs spec in bpf_tracing.h libbpf: Define sparc syscall regs spec in bpf_tracing.h libbpf: Define riscv syscall regs spec in bpf_tracing.h libbpf: Define arc syscall regs spec in bpf_tracing.h libbpf: Define loongarch syscall regs spec in bpf_tracing.h libbpf: Clean up now not needed __PT_PARM{1-6}_SYSCALL_REG defaults Changbin Du (1): libbpf: Return -ENODATA for missing btf section Daniel T. Lee (1): libbpf: Fix invalid return address register in s390 David Vernet (1): libbpf: Support sleepable struct_ops.s section Hengqi Chen (1): libbpf: Add LoongArch support to bpf_tracing.h Ludovic L'Hours (1): libbpf: Fix map creation flags sanitization Menglong Dong (1): libbpf: Replace '.' with '_' in legacy kprobe event name Rong Tao (1): libbpf: Poison strlcpy() Stanislav Fomichev (1): bpf: Introduce device-bound XDP programs Xin Liu (2): libbpf: fix errno is overwritten after being closed. libbpf: Added the description of some API functions Ziyang Xuan (1): bpf: Add ipip6 and ip6ip decap support for bpf_skb_adjust_room() include/uapi/linux/bpf.h | 12 ++ src/bpf_tracing.h | 320 ++++++++++++++++++++++++++++++++++----- src/btf.c | 2 +- src/libbpf.c | 10 +- src/libbpf.h | 29 +++- src/libbpf.map | 3 + src/libbpf_internal.h | 5 +- src/libbpf_version.h | 2 +- 8 files changed, 341 insertions(+), 42 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 331725a..bda569a 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -54c3f1a81421f85e60ae2eaae7be3727a09916ee +e8c8fd9b8393d7064152c8806f5ac446d760a23e diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index a1abd95..7f76156 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -7b43df6c6ec38c9097420902a1c8165c4b25bf70 +a5f6b9d577eba18601c14bba2dbff4a9b76af962