* bug#45049: [PATCH] Update bcc and bpftrace kernel headers
@ 2020-12-05 4:55 John Soo
2021-01-01 18:27 ` John Soo
0 siblings, 1 reply; 2+ messages in thread
From: John Soo @ 2020-12-05 4:55 UTC (permalink / raw)
To: 45049
[-- 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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#45049: [PATCH] Update bcc and bpftrace kernel headers
2020-12-05 4:55 bug#45049: [PATCH] Update bcc and bpftrace kernel headers John Soo
@ 2021-01-01 18:27 ` John Soo
0 siblings, 0 replies; 2+ messages in thread
From: John Soo @ 2021-01-01 18:27 UTC (permalink / raw)
To: 45049
[-- Attachment #1: Type: text/plain, Size: 25 bytes --]
Updated to kernel 5.10.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Use-5.10-kernel-headers-for-bcc.patch --]
[-- Type: text/x-patch, Size: 865 bytes --]
From 83c0d125e505d8d0695cd3b58806e31cf4c0cf22 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.10 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 6b0e9f6c8f..4bf4f6e94e 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7520,7 +7520,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.10)
("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.10-kernel-headers-for-bpftrace.patch --]
[-- Type: text/x-patch, Size: 869 bytes --]
From 5ce6e3af98369c2dbd66addd78b93984c8346d9f 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.10 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 4bf4f6e94e..c463c69f95 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -7600,7 +7600,7 @@ and above.")
("clang-toolchain" ,clang-toolchain)
("elfutils" ,elfutils)
("libbpf" ,libbpf)
- ("linux-libre-headers" ,linux-libre-headers)))
+ ("linux-libre-headers" ,linux-libre-headers-5.10)))
(arguments
`(#:tests? #f ;Tests require googletest sources.
#:configure-flags
--
2.29.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-01-01 18:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-05 4:55 bug#45049: [PATCH] Update bcc and bpftrace kernel headers John Soo
2021-01-01 18:27 ` John Soo
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.