From 5497411f48c2b5b60c09e37a84b4db5302e7fe8f Mon Sep 17 00:00:00 2001 From: Andrii Nakryiko Date: Fri, 10 Jun 2022 13:04:04 -0700 Subject: [PATCH] sync: latest libbpf changes from kernel Syncing latest libbpf commits from kernel repository. Baseline bpf-next commit: 02f4afebf8a54ba16f99f4f6ca10df3efeac6229 Checkpoint bpf-next commit: fe92833524e368e59bba9c57e00f7359f133667f Baseline bpf commit: d08af2c46881b62f4efad8ebb7eae381fa1f1033 Checkpoint bpf commit: 825464e79db4aac936e0fdae62cdfb7546d0028f Andrii Nakryiko (1): libbpf: Fix uprobe symbol file offset calculation logic Yonghong Song (10): bpf: Add btf enum64 support libbpf: Permit 64bit relocation value libbpf: Fix an error in 64bit relocation value computation libbpf: Refactor btf__add_enum() for future code sharing libbpf: Add enum64 parsing and new enum64 public API libbpf: Add enum64 deduplication support libbpf: Add enum64 support for btf_dump libbpf: Add enum64 sanitization libbpf: Add enum64 support for bpf linking libbpf: Add enum64 relocation support include/uapi/linux/btf.h | 17 +++- src/btf.c | 201 +++++++++++++++++++++++++++++++++++---- src/btf.h | 32 ++++++- src/btf_dump.c | 137 +++++++++++++++++++------- src/libbpf.c | 126 ++++++++++++++---------- src/libbpf.map | 2 + src/libbpf_internal.h | 2 + src/linker.c | 2 + src/relo_core.c | 105 ++++++++++++-------- src/relo_core.h | 4 +- 10 files changed, 483 insertions(+), 145 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 4cdc78e..e501af5 100644 --- a/BPF-CHECKPOINT-COMMIT +++ b/BPF-CHECKPOINT-COMMIT @@ -1 +1 @@ -d08af2c46881b62f4efad8ebb7eae381fa1f1033 +825464e79db4aac936e0fdae62cdfb7546d0028f diff --git a/CHECKPOINT-COMMIT b/CHECKPOINT-COMMIT index 478026a..fce9d98 100644 --- a/CHECKPOINT-COMMIT +++ b/CHECKPOINT-COMMIT @@ -1 +1 @@ -02f4afebf8a54ba16f99f4f6ca10df3efeac6229 +fe92833524e368e59bba9c57e00f7359f133667f