From c0204325319ba60267fda15b236768618e25407c Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Thu, 8 Aug 2019 23:07:48 -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: 66b5f1c439843bcbab01cc7f3854ae2742f3d1e3 Checkpoint bpf-next commit: b707659213d3c70f2c704ec950df6263b4bffe84 Baseline bpf commit: 53db1cced401e4c65d49edf198e00daa9fc837e6 Checkpoint bpf commit: f1fc7249dddc0e52d9e805e2e661caa118649509 Andrii Nakryiko (8): libbpf: provide more helpful message on uninitialized global var libbpf: return previous print callback from libbpf_set_print libbpf: add helpers for working with BTF types libbpf: convert libbpf code to use new btf helpers libbpf: add .BTF.ext offset relocation section loading libbpf: implement BPF CO-RE offset relocation algorithm libbpf: fix SIGSEGV when BTF loading fails, but .BTF.ext exists libbpf: sanitize VAR to conservative 1-byte INT Petar Penkov (1): bpf: sync bpf.h to tools/ Stanislav Fomichev (2): tools/bpf: sync bpf_flow_keys flags bpf/flow_dissector: support ipv6 flow_label and BPF_FLOW_DISSECTOR_F_STOP_AT_FLOW_LABEL Toke Høiland-Jørgensen (2): tools/include/uapi: Add devmap_hash BPF map type tools/libbpf_probes: Add new devmap_hash type include/uapi/linux/bpf.h | 44 +- src/btf.c | 250 +++++----- src/btf.h | 182 ++++++++ src/btf_dump.c | 138 ++---- src/libbpf.c | 972 ++++++++++++++++++++++++++++++++++++--- src/libbpf.h | 3 +- src/libbpf_internal.h | 105 +++++ src/libbpf_probes.c | 1 + 8 files changed, 1405 insertions(+), 290 deletions(-) -- 2.17.1 --- BPF-CHECKPOINT-COMMIT | 1 + CHECKPOINT-COMMIT | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 BPF-CHECKPOINT-COMMIT diff --git a/BPF-CHECKPOINT-COMMIT b/BPF-CHECKPOINT-COMMIT new file mode 100644 index 0000000..e491160 --- /dev/null +++ b/BPF-CHECKPOINT-COMMIT @@ -0,0 +1 @@ +f1fc7249dddc0e52d9e805e2e661caa118649509 diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 0eee759..97abb52 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -66b5f1c439843bcbab01cc7f3854ae2742f3d1e3 +b707659213d3c70f2c704ec950df6263b4bffe84