From 4bdbb7ea28bfd9e941f9a03f327ea765bee79fc0 Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Sat, 12 Nov 2022 13:09:28 -0800 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b Checkpoint bpf-next commit: b548b17a93fd18357a5a6f535c10c1e68719ad32 Baseline bpf commit: e7b09357453a99e6f9e74c39e9ca1363c22c0b96 Checkpoint bpf commit: 9cbd48d5fa14e4c65f8580de16686077f7cea02b Alan Maguire (1): libbpf: Btf dedup identical struct test needs check for nested structs/arrays Andrii Nakryiko (2): libbpf: clean up and refactor BTF fixup step libbpf: only add BPF_F_MMAPABLE flag for data maps with global vars Anshuman Khandual (4): perf: Add system error and not in transaction branch types perf: Extend branch type classification perf: Capture branch privilege information perf: Add PERF_BR_NEW_ARCH_[N] map for BRBE on arm64 platform Eduard Zingerman (4): libbpf: Resolve enum fwd as full enum64 and vice versa libbpf: Hashmap interface update to allow both long and void* keys/values libbpf: Resolve unambigous forward declarations libbpf: Hashmap.h update to fix build issues using LLVM14 Martin KaFai Lau (1): bpf: Add hwtstamp field for the sockops prog Namhyung Kim (1): perf: Kill __PERF_SAMPLE_CALLCHAIN_EARLY Ravi Bangoria (3): perf/mem: Introduce PERF_MEM_LVLNUM_{EXTN_MEM|IO} perf/uapi: Define PERF_MEM_SNOOPX_PEER in kernel header file perf/mem: Rename PERF_MEM_LVLNUM_EXTN_MEM to PERF_MEM_LVLNUM_CXL Sandipan Das (1): perf/core: Add speculation info to branch entries Xu Kuohai (1): libbpf: Avoid allocating reg_name with sscanf in parse_usdt_arg() Yonghong Song (2): bpf: Implement cgroup storage available to non-cgroup-attached bpf progs libbpf: Support new cgroup local storage include/uapi/linux/bpf.h | 51 +++++- include/uapi/linux/perf_event.h | 57 ++++++- src/btf.c | 267 ++++++++++++++++++++++---------- src/btf_dump.c | 15 +- src/hashmap.c | 18 +-- src/hashmap.h | 91 +++++++---- src/libbpf.c | 196 ++++++++++++++--------- src/libbpf_probes.c | 1 + src/strset.c | 18 +-- src/usdt.c | 44 +++--- 10 files changed, 511 insertions(+), 247 deletions(-) -- 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 97e898f..cd171ab 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -e7b09357453a99e6f9e74c39e9ca1363c22c0b96 +9cbd48d5fa14e4c65f8580de16686077f7cea02b diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 907df2f..26540d8 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -62c69e89e81bfbdb9a87ae3e0599dcc6aacf786b +b548b17a93fd18357a5a6f535c10c1e68719ad32