all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Tai <atai@atai.org>
To: 63184@debbugs.gnu.org
Cc: Andy Tai <atai@atai.org>
Subject: [bug#63184] [PATCH v2] gnu: Add systemtap
Date: Sun, 30 Apr 2023 15:56:16 -0700	[thread overview]
Message-ID: <20230430225616.27671-1-atai@atai.org> (raw)
In-Reply-To: <20230430054102.29098-1-atai@atai.org>

* 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@polymtl.ca>
+;;; Copyright © 2023 Andy Tai <atai@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





  parent reply	other threads:[~2023-04-30 22:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-30  5:41 [bug#63184] [PATCH] gnu: Add systemtap Andy Tai
2023-04-30  6:23 ` Liliana Marie Prikler
2023-04-30 13:56 ` Olivier Dion via Guix-patches via
2023-04-30 22:56 ` Andy Tai [this message]
2023-05-01  0:30   ` [bug#63184] [PATCH v2] " Olivier Dion via Guix-patches via
2023-05-01  1:06 ` [bug#63184] [PATCH v3] " Andy Tai
2023-06-14 21:23   ` bug#63184: [PATCH] " Ludovic Courtès

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=20230430225616.27671-1-atai@atai.org \
    --to=atai@atai.org \
    --cc=63184@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.