From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id QBobKdD/TWQ52gAASxT56A (envelope-from ) for ; Sun, 30 Apr 2023 07:42:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 2KNRKND/TWQp1wAAauVa8A (envelope-from ) for ; Sun, 30 Apr 2023 07:42:40 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1E484D546 for ; Sun, 30 Apr 2023 07:42:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pszp8-0004O1-8f; Sun, 30 Apr 2023 01:42:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pszow-0004Nb-Ra for guix-patches@gnu.org; Sun, 30 Apr 2023 01:42:07 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pszow-0002bk-If for guix-patches@gnu.org; Sun, 30 Apr 2023 01:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pszov-0006rN-UV for guix-patches@gnu.org; Sun, 30 Apr 2023 01:42:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#63184] [PATCH] gnu: Add systemtap Resent-From: Andy Tai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 30 Apr 2023 05:42:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63184 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 63184@debbugs.gnu.org Cc: Andy Tai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.168283327726315 (code B ref -1); Sun, 30 Apr 2023 05:42:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Apr 2023 05:41:17 +0000 Received: from localhost ([127.0.0.1]:37068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pszoC-0006qL-J1 for submit@debbugs.gnu.org; Sun, 30 Apr 2023 01:41:17 -0400 Received: from lists.gnu.org ([209.51.188.17]:57368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pszo7-0006qA-Q3 for submit@debbugs.gnu.org; Sun, 30 Apr 2023 01:41:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pszo7-0004Ke-7C for guix-patches@gnu.org; Sun, 30 Apr 2023 01:41:11 -0400 Received: from mail-pj1-x102a.google.com ([2607:f8b0:4864:20::102a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pszo4-0002Yp-RM for guix-patches@gnu.org; Sun, 30 Apr 2023 01:41:10 -0400 Received: by mail-pj1-x102a.google.com with SMTP id 98e67ed59e1d1-24de9c66559so374498a91.0 for ; Sat, 29 Apr 2023 22:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1682833267; x=1685425267; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:from:to:cc:subject:date:message-id:reply-to; bh=6iA+yTi0U/U2I47HG1Ym3yDXnys5LTHRoQgUOwb0C2k=; b=WrUs4FXlMeVSVbz4C2gMEO/rtlCt0usBdNEA1sPRUGBj5bHQTFt1yOCkvcrp+0orX2 vtN12vZcPBwv4wi7VSLWSnGVx2JGkWWcwKWBxJ/8qWlMzhGFvSOaj8mu37bfe7tKbcXj eoAkBMY3cIVAfMmCfkf/62OV9yo5AzVpsK/BzqEJ9zoAILESmMJWL3WbqEfLranLs+1j f/N6BRxUiOabqLr3+1WVAzkqfMxfwgSrBIeHhpBHSN2rgE0F/tOy9QVR6a6fo9gBp3+u wD6FUw2AjQ7Llew776ceYYJymRb+5dcd3tNf4kx9zNbuU+K+t1fQwD0iO4ZY0B/MZZHr C0oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682833267; x=1685425267; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=6iA+yTi0U/U2I47HG1Ym3yDXnys5LTHRoQgUOwb0C2k=; b=aXEvEuMVaK2di3WfpRqBXdo+Efl9TffKlAYKZi8ZQQJ+eLAuRiknso80fOGSxRMJgo JzJsgawC/ENJwsutAvI9QIqo+QiPN3JoknSJgTVeOt1GLo+jp1VdSs1vLjKKoeM0mzwg sfVquXEFbYJHOMRLFvqwfPtzT5r50zbQSkYEN+2DvSYiLr072S21p5WSQzszli3cteTM 7m7nZjatEsK2TkqB0uPTlij+ZuAcariIXucG7dRjDNxKdckZMwhOtvw6GzMS0wqisM/4 QCM2651vp9wJpKoIdlR9JiN/Pukww5cuSE3heKfJ6+Erx4bvz99wuLOG7HrI8fnVy8M+ CHgA== X-Gm-Message-State: AC+VfDz+gp1G5S+Q67sqKJxmp3RW0b5aovg0DxyxZ5NQXVeqLbfBBjxd TaN0jBMdLqctx/DWQbkUCOOTO7SidUk= X-Google-Smtp-Source: ACHHUZ7EWJcV/uS8LxwVg++m/OYtsy3sH0Bx7HgnH7jOeQA+/nmLT1IE3VHiOFWZdbYVNQ3my7no6Q== X-Received: by 2002:a17:90a:3843:b0:247:160d:3a8e with SMTP id l3-20020a17090a384300b00247160d3a8emr10201095pjf.22.1682833266802; Sat, 29 Apr 2023 22:41:06 -0700 (PDT) Received: from localhost.localdomain ([98.37.226.98]) by smtp.googlemail.com with ESMTPSA id y18-20020a17090aa41200b00244991b3f7asm22154576pjp.1.2023.04.29.22.41.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Apr 2023 22:41:06 -0700 (PDT) From: Andy Tai Date: Sat, 29 Apr 2023 22:41:02 -0700 Message-Id: <20230430054102.29098-1-atai@atai.org> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=lichengtai@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1682833360; a=rsa-sha256; cv=none; b=ljNgRkmQNyB9b6in2Z8Xv8OHeX5rDlcFlrwwXvDtG5zI2TGQM2X8/68YVdOgijDwPivQRh vdwhn05Av/LL0DU8cIRp9rvK1RSKeZ0WNeKMJErnFW598grel4VdJGSEoC8cwUbg3te6/z Q0255dshHO7F0sbQ+ZKNwUjpkoR8fhCk9Qv5/Ob8KoKvSOPcKl12Cd1VpWO4J4BoSX+0Pe Wk22yTLyex07Tb1UPaEUatUMm1l730/v/mS0kQsd3H8j3ZkFAnCl88lwl2Ieqt3Sz+b0W6 3GHHoPUvs7TMP6OxVdhZAjt4wXVun50PFcMgbHNlvpp+Fki4S22QUkn4XCk8aw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=WrUs4FXl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1682833360; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=6iA+yTi0U/U2I47HG1Ym3yDXnys5LTHRoQgUOwb0C2k=; b=KoN8OiVw1EN+GnmQh6ox033jScYBaPNkPvwMbqKlM0+780pYp5GNU8WZY4gDcGrOnuOmKd sK16vAmYPDuZ07PsZmNREndjVmdU/Fim5wrTxHNPFiXeqKwhWsmiHdWaxh4tiYlhLPPxV+ SuJLTt//kw02x6h2I+MujHUDcMzAlZU986PjbVsYFhl+dR7flnnsX+mJdITP0ZcC4TgzK6 7PASjJxCxvPo3SfwbafX15QDDvhvIivv+EaAHJOZumjhLbSzJ8j59zRG7ZG7Gxcz4PQ4bn CqdLB8wOSdIHkq01+q7tQ/hZRyoVNd5iueIiFAmQlHajmLxQNmqmo1E0IWKvFA== X-Migadu-Spam-Score: -0.80 X-Spam-Score: -0.80 X-Migadu-Queue-Id: 1E484D546 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=WrUs4FXl; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-TUID: ic+n1FsUsBF2 * 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