[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#63184] [PATCH] gnu: Add systemtap
From: |
Liliana Marie Prikler |
Subject: |
[bug#63184] [PATCH] gnu: Add systemtap |
Date: |
Sun, 30 Apr 2023 08:23:47 +0200 |
User-agent: |
Evolution 3.46.4 |
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