From 7c6d34a2c94b972bf1ed8f68e03fe1135d7efe38 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Mon, 16 Aug 2021 22:41:57 -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: 372642ea83ff1c71a5d567a704c912359eb59776 Checkpoint bpf-next commit: 3c3bd542ffbb2ac09631313ede46ae66660ae550 Baseline bpf commit: 7c4a22339e7ce7b6ed473a8e682da622c3a774ee Checkpoint bpf commit: 3776f3517ed94d40ff0e3851d7ce2ce17b63099f Andrii Nakryiko (8): bpf: Implement minimal BPF perf link bpf: Allow to specify user-provided bpf_cookie for BPF perf links bpf: Add bpf_get_attach_cookie() BPF helper to access bpf_cookie value libbpf: Remove unused bpf_link's destroy operation, but add dealloc libbpf: Use BPF perf link when supported by kernel libbpf: Add bpf_cookie support to bpf_link_create() API libbpf: Add bpf_cookie to perf_event, kprobe, uprobe, and tp attach APIs libbpf: Add uprobe ref counter offset support for USDT semaphores Hangbin Liu (1): bonding: add new option lacp_active Hao Luo (1): libbpf: Support weak typed ksyms. Randy Dunlap (1): libbpf, doc: Eliminate warnings in libbpf_naming_convention Robin Gögge (1): libbpf: Fix probe for BPF_PROG_TYPE_CGROUP_SOCKOPT grantseltzer (1): bpf: Reconfigure libbpf docs to remove unversioned API docs/libbpf_api.rst | 27 ---- docs/libbpf_naming_convention.rst | 4 +- include/uapi/linux/bpf.h | 25 ++++ include/uapi/linux/if_link.h | 1 + src/bpf.c | 32 ++++- src/bpf.h | 8 +- src/libbpf.c | 229 +++++++++++++++++++++++------- src/libbpf.h | 75 ++++++++-- src/libbpf.map | 3 + src/libbpf_internal.h | 32 +++-- src/libbpf_probes.c | 4 +- 11 files changed, 332 insertions(+), 108 deletions(-) delete mode 100644 docs/libbpf_api.rst -- 2.30.2 --- 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 93b676d..e49628c 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -7c4a22339e7ce7b6ed473a8e682da622c3a774ee +3776f3517ed94d40ff0e3851d7ce2ce17b63099f diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 74ab33c..dcc3aa1 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -372642ea83ff1c71a5d567a704c912359eb59776 +3c3bd542ffbb2ac09631313ede46ae66660ae550