From unknown Sun Jun 22 00:55:38 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#59301] [PATCH] gnu: Add cl-flamegraph. Resent-From: "Paul A. Patience" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 16 Nov 2022 08:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59301 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59301@debbugs.gnu.org Cc: "Paul A. Patience" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166858580416117 (code B ref -1); Wed, 16 Nov 2022 08:04:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Nov 2022 08:03:24 +0000 Received: from localhost ([127.0.0.1]:55935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovDOG-0004Bs-0S for submit@debbugs.gnu.org; Wed, 16 Nov 2022 03:03:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:56768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovDOC-0004Bj-Sd for submit@debbugs.gnu.org; Wed, 16 Nov 2022 03:03:22 -0500 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 1ovDO9-0000hb-UN for guix-patches@gnu.org; Wed, 16 Nov 2022 03:03:20 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovDO6-00086s-6T for guix-patches@gnu.org; Wed, 16 Nov 2022 03:03:17 -0500 Date: Wed, 16 Nov 2022 08:02:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1668585788; x=1668844988; bh=JlDuOOWffY/f32PMAFp6oWsMQdE6eHTljSev9JG3QiM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=LrMa5ly+no1efLLi4uk2PApGbzPWCEPeHGm3+Ay05JfWTmFz7RQDWyNhNCNmBbBcM cQmEDsxXqZxifnGib0gHzkfAfgzDeags8ILl0ZaiynuYicoNXNrRbYDgnjsOLVrZHb 5r5dw8tiMrUD3r0AqK+mOyBm8WMkUGVpk7oIULMUeS7+Q1afSwAhl77FStH36TgGI/ MJ27aROCqM2bJZFSMnUucK497JNu2uPU+KkRSBc+Wr4Z7GADqwOqqQqawy+jy8rB7i BXgV5tsXDDvp949LKbZ+6NMHAgbkSC5P+Q0mZ8Qu8jEw9czlgaiv+K3e0UJZHSq13u 6KxhYP7Jaq7LQ== From: "Paul A. Patience" Message-ID: <20221116080251.128957-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=paul@apatience.com; helo=mail-4323.proton.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) 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.3 (--) * gnu/packages/lisp-xyz.scm (sbcl-flamegraph, cl-flamegraph): New variables. --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1c580c7263..428ca87ff8 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -14636,6 +14636,37 @@ (define-public cl-supertrace (define-public ecl-supertrace (sbcl-package->ecl-package sbcl-supertrace)) +(define-public sbcl-flamegraph + (let ((commit "1ed7a718eae88bd35e1649a1c716d46c59dc0a24") + (revision "0")) + (package + (name "sbcl-flamegraph") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + ;; This is a fork with fixes for latest SBCL. + (url "https://github.com/ruricolist/cl-flamegraph") + (commit commit))) + (file-name (git-file-name "cl-flamegraph" version)) + (sha256 + (base32 "1aj7hhvav9j9c66ssy11ry3p6xqb912yafi91g6sin6pdx84c2lw"))= )) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria)) + (home-page "https://github.com/40ants/cl-flamegraph") + (synopsis "Generate flamegraphs of Common Lisp code") + (description + "@code{cl-flamegraph} is a wrapper around SBCL's statistical profil= er. +It saves stack traces of profiled code in a form suitable for processing b= y +the @command{flamegraph.pl} script, which is available in the Guix package +@code{flamegraph}.") + (license license:bsd-3)))) + +(define-public cl-flamegraph + (sbcl-package->cl-source-package sbcl-flamegraph)) + (define-public sbcl-trivial-benchmark (let ((commit "42d76733dd2e873471c6f1e27d39113293f7dd5c")) (package -- 2.38.0 From unknown Sun Jun 22 00:55:38 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Paul A. Patience" Subject: bug#59301: closed (Re: [bug#59301] [PATCH] gnu: Add cl-flamegraph.) Message-ID: References: <87k03v2pf9.fsf@kitej> <20221116080251.128957-1-paul@apatience.com> X-Gnu-PR-Message: they-closed 59301 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 59301@debbugs.gnu.org Date: Wed, 16 Nov 2022 09:57:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1668592622-3499-1" This is a multi-part message in MIME format... ------------=_1668592622-3499-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #59301: [PATCH] gnu: Add cl-flamegraph. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 59301@debbugs.gnu.org. --=20 59301: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D59301 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1668592622-3499-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 59301-done) by debbugs.gnu.org; 16 Nov 2022 09:56:34 +0000 Received: from localhost ([127.0.0.1]:56139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovF9m-0000tk-IM for submit@debbugs.gnu.org; Wed, 16 Nov 2022 04:56:34 -0500 Received: from mout01.posteo.de ([185.67.36.65]:41453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovF9l-0000tY-1R for 59301-done@debbugs.gnu.org; Wed, 16 Nov 2022 04:56:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 81DCB240028 for <59301-done@debbugs.gnu.org>; Wed, 16 Nov 2022 10:56:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1668592587; bh=MArX0dtbvdvWGpBR4cu5NH2RBiva9kaRhP+zw/gWNnc=; h=From:To:Cc:Subject:Date:From; b=AOkSpyE67IZnzrrUiBl6wKTKqdj9swXbnyn23QqeVofx6wmFOeiEFa23GT9HsnVGO W/yU5zxFyzSfaG/NrjboW7BeMRoNC0QJIMJvhhZEDjvMZxcSofOCeyPoWUv23SnSzi Xe6CNn3ysfwDq5UdMvvhWvGxPCa4eW1eYeV0Ar2SeNp5MJQjQWFpRX8r0GPM+s66S3 vLQwzLVcieyiCZnTOm8Xtl4v9iGP0+erfpThxK5ht4UgjBl0SQDMBqWrAW8zJXq7bp iWjZsaCxQc7q64nZfIcKtQmXdHQ+gLLEdiypERT/is8Jyl+eVSCp7KzpNQt4EN928P swYwqYGZtbm8w== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NBz2y71k2z6tmG; Wed, 16 Nov 2022 10:56:26 +0100 (CET) References: <20221116080251.128957-1-paul@apatience.com> From: Guillaume Le Vaillant To: "Paul A. Patience" Subject: Re: [bug#59301] [PATCH] gnu: Add cl-flamegraph. Date: Wed, 16 Nov 2022 09:55:37 +0000 In-reply-to: <20221116080251.128957-1-paul@apatience.com> Message-ID: <87k03v2pf9.fsf@kitej> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 59301-done Cc: 59301-done@debbugs.gnu.org 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: -1.0 (-) --=-=-= Content-Type: text/plain Patch pushed as ce9f95609573006820b9a3926dcb95ef0ceb190c. Thanks. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCY3Szyg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8m8AD7BniJoMgAtqyRzbbGek50TcUXjJfu5mz+YZ/h nxpRyWUBAJzPvGdS3AscHLx65Ido9unWG/ZHhu5GQbTh2Q1cJN4D =czut -----END PGP SIGNATURE----- --=-=-=-- ------------=_1668592622-3499-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Nov 2022 08:03:24 +0000 Received: from localhost ([127.0.0.1]:55935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovDOG-0004Bs-0S for submit@debbugs.gnu.org; Wed, 16 Nov 2022 03:03:24 -0500 Received: from lists.gnu.org ([209.51.188.17]:56768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ovDOC-0004Bj-Sd for submit@debbugs.gnu.org; Wed, 16 Nov 2022 03:03:22 -0500 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 1ovDO9-0000hb-UN for guix-patches@gnu.org; Wed, 16 Nov 2022 03:03:20 -0500 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ovDO6-00086s-6T for guix-patches@gnu.org; Wed, 16 Nov 2022 03:03:17 -0500 Date: Wed, 16 Nov 2022 08:02:59 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apatience.com; s=protonmail3; t=1668585788; x=1668844988; bh=JlDuOOWffY/f32PMAFp6oWsMQdE6eHTljSev9JG3QiM=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=LrMa5ly+no1efLLi4uk2PApGbzPWCEPeHGm3+Ay05JfWTmFz7RQDWyNhNCNmBbBcM cQmEDsxXqZxifnGib0gHzkfAfgzDeags8ILl0ZaiynuYicoNXNrRbYDgnjsOLVrZHb 5r5dw8tiMrUD3r0AqK+mOyBm8WMkUGVpk7oIULMUeS7+Q1afSwAhl77FStH36TgGI/ MJ27aROCqM2bJZFSMnUucK497JNu2uPU+KkRSBc+Wr4Z7GADqwOqqQqawy+jy8rB7i BXgV5tsXDDvp949LKbZ+6NMHAgbkSC5P+Q0mZ8Qu8jEw9czlgaiv+K3e0UJZHSq13u 6KxhYP7Jaq7LQ== To: guix-patches@gnu.org From: "Paul A. Patience" Subject: [PATCH] gnu: Add cl-flamegraph. Message-ID: <20221116080251.128957-1-paul@apatience.com> Feedback-ID: 19227857:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=paul@apatience.com; helo=mail-4323.proton.ch 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_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: "Paul A. Patience" 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.3 (--) * gnu/packages/lisp-xyz.scm (sbcl-flamegraph, cl-flamegraph): New variables. --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 1c580c7263..428ca87ff8 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -14636,6 +14636,37 @@ (define-public cl-supertrace (define-public ecl-supertrace (sbcl-package->ecl-package sbcl-supertrace)) +(define-public sbcl-flamegraph + (let ((commit "1ed7a718eae88bd35e1649a1c716d46c59dc0a24") + (revision "0")) + (package + (name "sbcl-flamegraph") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + ;; This is a fork with fixes for latest SBCL. + (url "https://github.com/ruricolist/cl-flamegraph") + (commit commit))) + (file-name (git-file-name "cl-flamegraph" version)) + (sha256 + (base32 "1aj7hhvav9j9c66ssy11ry3p6xqb912yafi91g6sin6pdx84c2lw"))= )) + (build-system asdf-build-system/sbcl) + (inputs + (list sbcl-alexandria)) + (home-page "https://github.com/40ants/cl-flamegraph") + (synopsis "Generate flamegraphs of Common Lisp code") + (description + "@code{cl-flamegraph} is a wrapper around SBCL's statistical profil= er. +It saves stack traces of profiled code in a form suitable for processing b= y +the @command{flamegraph.pl} script, which is available in the Guix package +@code{flamegraph}.") + (license license:bsd-3)))) + +(define-public cl-flamegraph + (sbcl-package->cl-source-package sbcl-flamegraph)) + (define-public sbcl-trivial-benchmark (let ((commit "42d76733dd2e873471c6f1e27d39113293f7dd5c")) (package -- 2.38.0 ------------=_1668592622-3499-1--