From unknown Wed Jun 18 23:04:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#52397 <52397@debbugs.gnu.org> To: bug#52397 <52397@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add gprof2dot. Reply-To: bug#52397 <52397@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:04:05 +0000 retitle 52397 [PATCH] gnu: Add gprof2dot. reassign 52397 guix-patches submitter 52397 Giacomo Leidi severity 52397 normal tag 52397 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 09 17:57:23 2021 Received: (at submit) by debbugs.gnu.org; 9 Dec 2021 22:57:23 +0000 Received: from localhost ([127.0.0.1]:44974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvSLq-0004t4-O1 for submit@debbugs.gnu.org; Thu, 09 Dec 2021 17:57:22 -0500 Received: from lists.gnu.org ([209.51.188.17]:42474) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvSLp-0004sw-6u for submit@debbugs.gnu.org; Thu, 09 Dec 2021 17:57:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:42890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvSLo-0006r9-VT for guix-patches@gnu.org; Thu, 09 Dec 2021 17:57:20 -0500 Received: from latitanza.investici.org ([82.94.249.234]:52715) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvSLl-00030O-Id for guix-patches@gnu.org; Thu, 09 Dec 2021 17:57:20 -0500 Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4J98YY5RhkzGp59; Thu, 9 Dec 2021 22:57:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1639090625; bh=dQJtseTDTZaJFDbX0s9ZZChX7MOqw+KV/LvLazGbmuA=; h=From:To:Cc:Subject:Date:From; b=FpbY5nYZ8LhjC/H+LV1Mp6BZSyCZuzOkXYuMwJBtsNRdeXyn7/aC5ydTEXFXQ9kUG TklAmijNzzQ+jUh2HWCK18Qd64xEGgQoIvNaMb/Bl0ODS71ung96A05ognmbnEcFrk hW3blzCalb6BpxolfXS8GhXxtQ6NGfCMR4Nvq8Ig= Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: goodoldpaul@autistici.org) by localhost (Postfix) with ESMTPSA id 4J98YY30cwzGp56; Thu, 9 Dec 2021 22:57:05 +0000 (UTC) From: Giacomo Leidi To: guix-patches@gnu.org Subject: [PATCH] gnu: Add gprof2dot. Date: Thu, 9 Dec 2021 23:56:32 +0100 Message-Id: <20211209225632.12156-1-goodoldpaul@autistici.org> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=82.94.249.234; envelope-from=goodoldpaul@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) * gnu/packages/graphviz.scm (gprof2dot): New variable. --- gnu/packages/graphviz.scm | 43 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm index ac896fb577..6d3bb292ac 100644 --- a/gnu/packages/graphviz.scm +++ b/gnu/packages/graphviz.scm @@ -10,6 +10,7 @@ ;;; Copyright © 2020 Vincent Legoll ;;; Copyright © 2020 Pjotr Prins ;;; Copyright © 2021 Bonface Munyoki Kilyungi +;;; Copyright © 2021 Giacomo Leidi ;;; ;;; This file is part of GNU Guix. ;;; @@ -456,3 +457,45 @@ (define-public dot2tex @item Using backend specific styles to customize the output @end itemize") (license license:expat))) + +(define-public gprof2dot + (package + (name "gprof2dot") + (version "2021.02.21") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/jrfonseca/gprof2dot") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jjhsjf5fdi1fkn7mvhnzkh6cynl8gcjrygd3cya5mmda3akhzic")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda* (#:key inputs outputs tests? #:allow-other-keys) + (when tests? + (add-installed-pythonpath inputs outputs) + (invoke "python" "tests/test.py"))))))) + (native-inputs + `(("graphviz" ,graphviz))) + (home-page "https://github.com/jrfonseca/gprof2dot") + (synopsis "Generate a dot graph from the output of several profilers") + (description "This package provides a Python script to convert the output +from many profilers into a dot graph. + +It can: + +@itemize + +@item prune nodes and edges below a certain threshold; +@item use an heuristic to propagate time inside mutually recursive functions; +@item use color efficiently to draw attention to hot-spots; +@item work on any platform where Python and Graphviz is available. + +@end itemize") + (license license:lgpl3+))) base-commit: f3af1fb0bcbcbe18ab773374efe606e90107cfb6 -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 10 17:49:17 2021 Received: (at submit) by debbugs.gnu.org; 10 Dec 2021 22:49:17 +0000 Received: from localhost ([127.0.0.1]:48158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvohY-0006HV-TV for submit@debbugs.gnu.org; Fri, 10 Dec 2021 17:49:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:36396) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvohX-0006HN-2x for submit@debbugs.gnu.org; Fri, 10 Dec 2021 17:49:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvohW-00014F-Rd for guix-patches@gnu.org; Fri, 10 Dec 2021 17:49:14 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:58969) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvohV-0001qi-5k for guix-patches@gnu.org; Fri, 10 Dec 2021 17:49:14 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 8B5E56000A; Fri, 10 Dec 2021 22:49:10 +0000 (UTC) From: Nicolas Goaziou To: Giacomo Leidi via Guix-patches via Subject: Re: [bug#52397] [PATCH] gnu: Add gprof2dot. References: <20211209225632.12156-1-goodoldpaul@autistici.org> Date: Fri, 10 Dec 2021 23:49:09 +0100 In-Reply-To: <20211209225632.12156-1-goodoldpaul@autistici.org> (Giacomo Leidi via Guix-patches via's message of "Thu, 9 Dec 2021 23:56:32 +0100") Message-ID: <87czm4qdne.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@nicolasgoaziou.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: 52397-done@debbugs.gnu.org, Giacomo Leidi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Hello, Giacomo Leidi via Guix-patches via writes: > * gnu/packages/graphviz.scm (gprof2dot): New variable. Applied. Thank you. Regards, -- Nicolas Goaziou From unknown Wed Jun 18 23:04:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 08 Jan 2022 12:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator