Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] linux5.7: enable BPF type format on x86_64
@ 2020-07-12 10:02 egorenar
  2020-07-23 13:39 ` ahesford
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: egorenar @ 2020-07-12 10:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 543 bytes --]

There is a new pull request by egorenar against master on the void-packages repository

https://github.com/egorenar/void-packages linux-5.7-enable-btf-x86_64
https://github.com/void-linux/void-packages/pull/23534

linux5.7: enable BPF type format on x86_64
Required e.g. for opensnoop from bcc-tools to fix the following problem:
libbpf: failed to find valid kernel BTF
libbpf: vmlinux BTF is not found
bpf: Failed to load program: Invalid argument

A patch file from https://github.com/void-linux/void-packages/pull/23534.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-linux-5.7-enable-btf-x86_64-23534.patch --]
[-- Type: text/x-diff, Size: 1055 bytes --]

From 1459637b9d8d1df4ca46917da29d167d4517c236 Mon Sep 17 00:00:00 2001
From: Alexander Egorenkov <egorenar-dev@posteo.net>
Date: Sun, 12 Jul 2020 11:59:15 +0200
Subject: [PATCH] linux5.7: enable BPF type format on x86_64

Required e.g. for opensnoop from bcc-tools to fix the following problem:
libbpf: failed to find valid kernel BTF
libbpf: vmlinux BTF is not found
bpf: Failed to load program: Invalid argument
---
 srcpkgs/linux5.7/files/x86_64-dotconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/linux5.7/files/x86_64-dotconfig b/srcpkgs/linux5.7/files/x86_64-dotconfig
index 051a8db9923..9a94b7d6a16 100644
--- a/srcpkgs/linux5.7/files/x86_64-dotconfig
+++ b/srcpkgs/linux5.7/files/x86_64-dotconfig
@@ -9563,7 +9563,7 @@ CONFIG_DEBUG_INFO=y
 # CONFIG_DEBUG_INFO_REDUCED is not set
 # CONFIG_DEBUG_INFO_SPLIT is not set
 # CONFIG_DEBUG_INFO_DWARF4 is not set
-# CONFIG_DEBUG_INFO_BTF is not set
+CONFIG_DEBUG_INFO_BTF=y
 # CONFIG_GDB_SCRIPTS is not set
 # CONFIG_ENABLE_MUST_CHECK is not set
 CONFIG_FRAME_WARN=1024

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-08-04 15:18 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-12 10:02 [PR PATCH] linux5.7: enable BPF type format on x86_64 egorenar
2020-07-23 13:39 ` ahesford
2020-07-23 13:39 ` ahesford
2020-07-24 18:37 ` [PR PATCH] [Updated] " egorenar
2020-07-25  8:18 ` egorenar
2020-08-04 13:26 ` leahneukirchen
2020-08-04 15:06 ` q66
2020-08-04 15:18 ` leahneukirchen
2020-08-04 15:18 ` [PR PATCH] [Merged]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).