From e441f55089710de7172aa981f90cb19a14d4035d Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Tue, 22 Oct 2019 14:47:31 -0700 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: da927466a152a9497c05926a95c6aebba6d3ad5b Checkpoint bpf-next commit: 5e5b03d163e15a40b0fa57c70b4e8edd549b0b98 Baseline bpf commit: 9e8acd9c44a0dd52b2922eeb82398c04e356c058 Checkpoint bpf commit: cd7455f1013ef96d5cbf5c05d2b7c06f273810a6 Alexei Starovoitov (3): bpf: Add attach_btf_id attribute to program load libbpf: Auto-detect btf_id of BTF-based raw_tracepoints bpf: Check types of arguments passed into helpers Andrii Nakryiko (5): tools: Sync if_link.h libbpf: Add bpf_program__get_{type, expected_attach_type) APIs libbpf: Add uprobe/uretprobe and tp/raw_tp section suffixes libbpf: Teach bpf_object__open to guess program types libbpf: Make DECLARE_LIBBPF_OPTS macro strictly a variable declaration John Fastabend (1): bpf, libbpf: Add kernel version section parsing back Kefeng Wang (1): tools, bpf: Rename pr_warning to pr_warn to align with kernel logging include/uapi/linux/bpf.h | 28 +- include/uapi/linux/if_link.h | 2 + src/bpf.c | 3 + src/btf.c | 56 +-- src/btf_dump.c | 18 +- src/libbpf.c | 830 +++++++++++++++++++---------------- src/libbpf.h | 24 +- src/libbpf.map | 2 + src/libbpf_internal.h | 8 +- src/xsk.c | 4 +- 10 files changed, 539 insertions(+), 436 deletions(-) -- 2.17.1 --- 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 811b5d7..85db92e 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -9e8acd9c44a0dd52b2922eeb82398c04e356c058 +cd7455f1013ef96d5cbf5c05d2b7c06f273810a6 diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index ae21cb7..dfa92c6 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -da927466a152a9497c05926a95c6aebba6d3ad5b +5e5b03d163e15a40b0fa57c70b4e8edd549b0b98