From: John Soo <jsoo1@asu.edu>
To: 45049@debbugs.gnu.org
Subject: bug#45049: [PATCH] Update bcc and bpftrace kernel headers
Date: Fri, 04 Dec 2020 20:55:51 -0800 [thread overview]
Message-ID: <87tut0lulk.fsf@asu.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
Hi Guix,
I tried to use bpftrace recently and discovered I needed the right
kernel headers compiled in (5.9 being the default now). Perhaps
linux-libre-headers should be upgraded to 5.9 instead?
What do you think?
- John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Use-5.9-kernel-headers-for-bcc.patch --]
[-- Type: text/x-patch, Size: 863 bytes --]
From bf8d069f70fecc8e24a795efa69252d1cf9b1865 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Fri, 4 Dec 2020 20:36:11 -0800
Subject: [PATCH 1/2] gnu: Use 5.9 kernel headers for bcc.
* gnu/packages/linux.scm (bcc): [inputs] Update dependency.
---
gnu/packages/linux.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 3d36468172..ce88ad3348 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7472,7 +7472,7 @@ headers.")
;; archives, only object files.
;; https://github.com/iovisor/bcc/issues/504
("elfutils" ,elfutils)
- ("linux-libre-headers" ,linux-libre-headers)
+ ("linux-libre-headers" ,linux-libre-headers-5.9)
("luajit" ,luajit)
("python-wrapper" ,python-wrapper)))
(arguments
--
2.29.2
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-gnu-Use-5.9-kernel-headers-for-bpftrace.patch --]
[-- Type: text/x-patch, Size: 867 bytes --]
From c6f6595d6103f310f5925941edc3696def1826b4 Mon Sep 17 00:00:00 2001
From: John Soo <jsoo1@asu.edu>
Date: Fri, 4 Dec 2020 20:37:15 -0800
Subject: [PATCH 2/2] gnu: Use 5.9 kernel headers for bpftrace.
* gnu/packages/linux.scm (bpftrace): [inputs] Update dependency.
---
gnu/packages/linux.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index ce88ad3348..dae3efd462 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7552,7 +7552,7 @@ and above.")
("clang-toolchain" ,clang-toolchain)
("elfutils" ,elfutils)
("libbpf" ,libbpf)
- ("linux-libre-headers" ,linux-libre-headers)))
+ ("linux-libre-headers" ,linux-libre-headers-5.9)))
(arguments
`(#:tests? #f ;Tests require googletest sources.
#:configure-flags
--
2.29.2
next reply other threads:[~2020-12-05 4:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-05 4:55 John Soo [this message]
2021-01-01 18:27 ` bug#45049: [PATCH] Update bcc and bpftrace kernel headers John Soo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tut0lulk.fsf@asu.edu \
--to=jsoo1@asu.edu \
--cc=45049@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.