GNU bug report logs - #63184
[PATCH] gnu: Add systemtap

Previous Next

Package: guix-patches;

Reported by: Andy Tai <atai <at> atai.org>

Date: Sun, 30 Apr 2023 05:42:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 63184 in the body.
You can then email your comments to 63184 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Sun, 30 Apr 2023 05:42:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andy Tai <atai <at> atai.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 30 Apr 2023 05:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: guix-patches <at> gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH] gnu: Add systemtap
Date: Sat, 29 Apr 2023 22:41:02 -0700
* gnu/packages/debug.scm (systemtap): New variable
---
 gnu/packages/debug.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
index fe00cb5705..3e01c7f0a2 100644
--- a/gnu/packages/debug.scm
+++ b/gnu/packages/debug.scm
@@ -48,6 +48,8 @@ (define-module (gnu packages debug)
   #:use-module (gnu packages check)
   #:use-module (gnu packages code)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpio)
+  #:use-module (gnu packages elf)
   #:use-module (gnu packages flex)
   #:use-module (gnu packages gdb)
   #:use-module (gnu packages glib)
@@ -918,3 +920,39 @@ (define-public delve
     (synopsis "Debugger for the Go programming language")
     (description "Delve is a debugger for the Go programming language.")
     (license license:expat)))
+
+(define-public systemtap
+  (package
+    (name "systemtap")
+    (version "4.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://sourceware.org/ftp/systemtap/releases/" name "-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "161smpv4ajqfncmgylvs89bbix1id60nf0g7clmga2lxxax3646h"))))
+    (build-system gnu-build-system)
+    (native-inputs (list cpio python))
+    (inputs (list elfutils))
+
+    (home-page "https://sourceware.org/systemtap/")
+    (synopsis "a linux trace/probe tool")
+    (description
+     "SystemTap provides free software (GPL) infrastructure to simplify the
+gathering of information about the running Linux system. This assists
+diagnosis of a performance or functional problem. SystemTap eliminates the
+need for the developer to go through the tedious and disruptive
+instrument, recompile, install, and reboot sequence that may be otherwise
+required to collect data.
+
+SystemTap provides a simple command line interface and scripting language for
+writing instrumentation for a live running kernel plus user-space applications.
+We are publishing samples, as well as enlarging the internal \"tapset\" script
+library to aid reuse and abstraction.
+
+Among other tracing/probing tools, SystemTap is the tool of choice for complex
+tasks that may require live analysis, programmable on-line response, and
+whole-system symbolic access. SystemTap can also handle simple tracing jobs.")
+    (license license:gpl2+)))

base-commit: 85c137adde84055d78b16d84e5ae4817995bce28
prerequisite-patch-id: f5feb08c9249508d22e0debbe47222324e9f354e
prerequisite-patch-id: de3be9ca0e20edac4bdf93eacda91b65df196c2d
prerequisite-patch-id: 9967fd9b0de5c36d810ca5c346e49762dfd3dad8
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Sun, 30 Apr 2023 06:24:01 GMT) Full text and rfc822 format available.

Message #8 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Liliana Marie Prikler <liliana.prikler <at> gmail.com>
To: Andy Tai <atai <at> atai.org>, 63184 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add systemtap
Date: Sun, 30 Apr 2023 08:23:47 +0200
Am Samstag, dem 29.04.2023 um 22:41 -0700 schrieb Andy Tai:
> * gnu/packages/debug.scm (systemtap): New variable
> ---
>  gnu/packages/debug.scm | 38 ++++++++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
> 
> diff --git a/gnu/packages/debug.scm b/gnu/packages/debug.scm
> index fe00cb5705..3e01c7f0a2 100644
> --- a/gnu/packages/debug.scm
> +++ b/gnu/packages/debug.scm
> @@ -48,6 +48,8 @@ (define-module (gnu packages debug)
>    #:use-module (gnu packages check)
>    #:use-module (gnu packages code)
>    #:use-module (gnu packages compression)
> +  #:use-module (gnu packages cpio)
> +  #:use-module (gnu packages elf)
>    #:use-module (gnu packages flex)
>    #:use-module (gnu packages gdb)
>    #:use-module (gnu packages glib)
> @@ -918,3 +920,39 @@ (define-public delve
>      (synopsis "Debugger for the Go programming language")
>      (description "Delve is a debugger for the Go programming
> language.")
>      (license license:expat)))
> +
> +(define-public systemtap
> +  (package
> +    (name "systemtap")
> +    (version "4.9")
> +    (source (origin
> +              (method url-fetch)
> +              (uri (string-append
> +                    "https://sourceware.org/ftp/systemtap/releases/"
> name "-"
> +                    version ".tar.gz"))
> +              (sha256
> +               (base32
> +               
> "161smpv4ajqfncmgylvs89bbix1id60nf0g7clmga2lxxax3646h"))))
> +    (build-system gnu-build-system)
> +    (native-inputs (list cpio python))
> +    (inputs (list elfutils))
> +
> +    (home-page "https://sourceware.org/systemtap/")
> +    (synopsis "a linux trace/probe tool")
Synopsis should not lead with "a" or "the".
> +    (description
> +     "SystemTap provides free software (GPL) infrastructure to
> simplify the
"free software" is non-informative even with "(GPL)" added, as all
software in Guix should be free.  Leave this information to the license
field.
> +gathering of information about the running Linux system. This
> assists
> +diagnosis of a performance or functional problem. SystemTap
> eliminates the
> +need for the developer to go through the tedious and disruptive
> +instrument, recompile, install, and reboot sequence that may be
> otherwise
> +required to collect data.
> +
> +SystemTap provides a simple command line interface and scripting
> language for
> +writing instrumentation for a live running kernel plus user-space
> applications.
> +We are publishing samples, as well as enlarging the internal
> \"tapset\" script
> +library to aid reuse and abstraction.
> +
> +Among other tracing/probing tools, SystemTap is the tool of choice
> for complex
> +tasks that may require live analysis, programmable on-line response,
> and
> +whole-system symbolic access. SystemTap can also handle simple
> tracing jobs.")
On the whole, this description is very market-y.  I'm sure you can
condense it to a third of its length without losing information. 
(Compression algorithms hate this trick.)

Cheers




Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Sun, 30 Apr 2023 13:57:02 GMT) Full text and rfc822 format available.

Message #11 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <olivier.dion <at> polymtl.ca>
To: Andy Tai <atai <at> atai.org>, 63184 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: Re: [bug#63184] [PATCH] gnu: Add systemtap
Date: Sun, 30 Apr 2023 09:56:12 -0400
On Sat, 29 Apr 2023, Andy Tai <atai <at> atai.org> wrote:
> * gnu/packages/debug.scm (systemtap): New variable

I would put this under gnu/packages/instrumentation.scm.

-- 
Olivier Dion
oldiob.dev




Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Sun, 30 Apr 2023 22:57:01 GMT) Full text and rfc822 format available.

Message #14 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 63184 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v2] gnu: Add systemtap
Date: Sun, 30 Apr 2023 15:56:16 -0700
* gnu/packages/instrumentation.scm (systemtap): New variable
---
 gnu/packages/instrumentation.scm | 38 ++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index c25086127a..eca7b5bd15 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021, 2022 Olivier Dion <olivier.dion <at> polymtl.ca>
+;;; Copyright © 2023 Andy Tai <atai <at> atai.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -25,6 +26,7 @@ (define-module (gnu packages instrumentation)
   #:use-module (gnu packages compression)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
+  #:use-module (gnu packages cpio)
   #:use-module (gnu packages elf)
   #:use-module (gnu packages engineering)
   #:use-module (gnu packages file)
@@ -526,3 +528,39 @@ (define-public uftrace
 performance.  It provides the command @command{uftrace}.  User that want to do
 scripting need to install python-3 or luajit in their profile.")
     (license license:gpl2)))
+
+
+(define-public systemtap
+  (package
+    (name "systemtap")
+    (version "4.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://sourceware.org/ftp/systemtap/releases/" name "-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "161smpv4ajqfncmgylvs89bbix1id60nf0g7clmga2lxxax3646h"))))
+    (build-system gnu-build-system)
+    (native-inputs (list cpio python))
+    (inputs (list elfutils))
+
+    (home-page "https://sourceware.org/systemtap/")
+    (synopsis "a GNU/Linux trace/probe tool")
+    (description
+     "SystemTap provides infrastructure to simplify the
+gathering of information about the running Linux system. This assists
+diagnosis of a performance or functional problem. SystemTap eliminates the
+need for the developer to go through the tedious and disruptive
+instrument, recompile, install, and reboot sequence that may be otherwise
+required to collect data.
+
+SystemTap provides a simple command line interface and scripting language for
+writing instrumentation for a live running kernel plus user-space applications.
+We are publishing samples, as well as enlarging the internal \"tapset\" script
+library to aid reuse and abstraction. SystemTap is a tool for complex
+tasks that may require live analysis, programmable on-line response, and
+whole-system symbolic access, and can also handle simple tracing jobs.")
+    (license license:gpl2+)))
+

base-commit: 85c137adde84055d78b16d84e5ae4817995bce28
prerequisite-patch-id: f5feb08c9249508d22e0debbe47222324e9f354e
prerequisite-patch-id: de3be9ca0e20edac4bdf93eacda91b65df196c2d
prerequisite-patch-id: 9967fd9b0de5c36d810ca5c346e49762dfd3dad8
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Mon, 01 May 2023 00:31:02 GMT) Full text and rfc822 format available.

Message #17 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Olivier Dion <olivier.dion <at> polymtl.ca>
To: Andy Tai <atai <at> atai.org>, 63184 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: Re: [bug#63184] [PATCH v2] gnu: Add systemtap
Date: Sun, 30 Apr 2023 20:30:06 -0400
On Sun, 30 Apr 2023, Andy Tai <atai <at> atai.org> wrote:
> * gnu/packages/instrumentation.scm (systemtap): New variable
> ---
>  gnu/packages/instrumentation.scm | 38 ++++++++++++++++++++++++++++++++
>  1 file changed, 38 insertions(+)
>
> diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
> index c25086127a..eca7b5bd15 100644
> --- a/gnu/packages/instrumentation.scm
> +++ b/gnu/packages/instrumentation.scm
> @@ -25,6 +26,7 @@ (define-module (gnu packages instrumentation)
>    #:use-module (gnu packages compression)
>    #:use-module (gnu packages datastructures)
>    #:use-module (gnu packages documentation)
> +  #:use-module (gnu packages cpio)
>    #:use-module (gnu packages elf)
>    #:use-module (gnu packages engineering)
>    #:use-module (gnu packages file)

Please keep the #:use-module sorted.  The same applies for define-public.

> +    (synopsis "a GNU/Linux trace/probe tool")

Synopsis start with a capital case I think.  Use `guix lint' to be
sure.

-- 
Olivier Dion
oldiob.dev




Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Mon, 01 May 2023 01:08:02 GMT) Full text and rfc822 format available.

Message #20 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: 63184 <at> debbugs.gnu.org
Cc: Andy Tai <atai <at> atai.org>
Subject: [PATCH v3] gnu: Add systemtap
Date: Sun, 30 Apr 2023 18:06:54 -0700
* gnu/packages/instrumentation.scm (systemtap): New variable
---
 gnu/packages/instrumentation.scm | 38 ++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/instrumentation.scm b/gnu/packages/instrumentation.scm
index c25086127a..0d57cdd316 100644
--- a/gnu/packages/instrumentation.scm
+++ b/gnu/packages/instrumentation.scm
@@ -1,5 +1,6 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2021, 2022 Olivier Dion <olivier.dion <at> polymtl.ca>
+;;; Copyright © 2023 Andy Tai <atai <at> atai.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -23,6 +24,7 @@ (define-module (gnu packages instrumentation)
   #:use-module (gnu packages boost)
   #:use-module (gnu packages commencement)
   #:use-module (gnu packages compression)
+  #:use-module (gnu packages cpio)
   #:use-module (gnu packages datastructures)
   #:use-module (gnu packages documentation)
   #:use-module (gnu packages elf)
@@ -468,6 +470,40 @@ (define-public perf-tools
 ftrace.")
     (license (list license:gpl2))))
 
+(define-public systemtap
+  (package
+    (name "systemtap")
+    (version "4.9")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "https://sourceware.org/ftp/systemtap/releases/" name "-"
+                    version ".tar.gz"))
+              (sha256
+               (base32
+                "161smpv4ajqfncmgylvs89bbix1id60nf0g7clmga2lxxax3646h"))))
+    (build-system gnu-build-system)
+    (native-inputs (list cpio python))
+    (inputs (list elfutils))
+
+    (home-page "https://sourceware.org/systemtap/")
+    (synopsis "GNU/Linux trace/probe tool")
+    (description
+     "SystemTap provides infrastructure to simplify the
+gathering of information about the running Linux system.  This assists
+diagnosis of a performance or functional problem.  SystemTap eliminates the
+need for the developer to go through the tedious and disruptive
+instrument, recompile, install, and reboot sequence that may be otherwise
+required to collect data.
+
+SystemTap provides a simple command line interface and scripting language for
+writing instrumentation for a live running kernel plus user-space applications.
+We are publishing samples, as well as enlarging the internal \"tapset\" script
+library to aid reuse and abstraction.  SystemTap is a tool for complex
+tasks that may require live analysis, programmable on-line response, and
+whole-system symbolic access, and can also handle simple tracing jobs.")
+    (license license:gpl2+)))
+
 (define-public uftrace
   (package
     (name "uftrace")
@@ -526,3 +562,5 @@ (define-public uftrace
 performance.  It provides the command @command{uftrace}.  User that want to do
 scripting need to install python-3 or luajit in their profile.")
     (license license:gpl2)))
+
+

base-commit: 23552fb2fbcb78757e8b563de9466831f6386105
-- 
2.39.2





Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Thu, 11 May 2023 23:41:01 GMT) Full text and rfc822 format available.

Message #23 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Andy Tai <atai <at> atai.org>
To: guix-devel <at> gnu.org, 63184 <at> debbugs.gnu.org
Subject: Guix QA: 13482 packages waiting for Hurd target to build for a
 package addition patch
Date: Thu, 11 May 2023 16:40:10 -0700
funny issue with Guix QA:

https://qa.guix.gnu.org/issue/63184

shows  13482 packages waiting to build for a package addition patch
for target i586-gnu
That shall make no sense.   The package is Linux kernel specific, as well.




Information forwarded to guix-patches <at> gnu.org:
bug#63184; Package guix-patches. (Fri, 12 May 2023 06:53:01 GMT) Full text and rfc822 format available.

Message #26 received at 63184 <at> debbugs.gnu.org (full text, mbox):

From: Christopher Baines <mail <at> cbaines.net>
To: Andy Tai <atai <at> atai.org>
Cc: guix-devel <at> gnu.org, 63184 <at> debbugs.gnu.org
Subject: Re: Guix QA: 13482 packages waiting for Hurd target to build for a
 package addition patch
Date: Fri, 12 May 2023 07:50:14 +0100
[Message part 1 (text/plain, inline)]
Andy Tai <atai <at> atai.org> writes:

> funny issue with Guix QA:
>
> https://qa.guix.gnu.org/issue/63184
>
> shows  13482 packages waiting to build for a package addition patch
> for target i586-gnu
> That shall make no sense.   The package is Linux kernel specific, as well.

This isn't a QA issue, it's an actual issue with the derivations,
they're very broken.

I've got some patches here https://issues.guix.gnu.org/63416

Note that even though this information is showing up, the i586-gnu
system isn't looked at when considering the "status" [2].

2: https://git.cbaines.net/guix/qa-frontpage/tree/guix-qa-frontpage/issue.scm#n50
[signature.asc (application/pgp-signature, inline)]

Reply sent to Ludovic Courtès <ludo <at> gnu.org>:
You have taken responsibility. (Wed, 14 Jun 2023 21:24:01 GMT) Full text and rfc822 format available.

Notification sent to Andy Tai <atai <at> atai.org>:
bug acknowledged by developer. (Wed, 14 Jun 2023 21:24:02 GMT) Full text and rfc822 format available.

Message #31 received at 63184-done <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Andy Tai <atai <at> atai.org>
Cc: 63184-done <at> debbugs.gnu.org
Subject: Re: bug#63184: [PATCH] gnu: Add systemtap
Date: Wed, 14 Jun 2023 23:23:41 +0200
Andy Tai <atai <at> atai.org> skribis:

> * gnu/packages/instrumentation.scm (systemtap): New variable

Applied, thanks!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 13 Jul 2023 11:24:12 GMT) Full text and rfc822 format available.

This bug report was last modified 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.