GNU bug report logs -
#52397
[PATCH] gnu: Add gprof2dot.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 52397 in the body.
You can then email your comments to 52397 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#52397
; Package
guix-patches
.
(Thu, 09 Dec 2021 22:58:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Giacomo Leidi <goodoldpaul <at> autistici.org>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 09 Dec 2021 22:58:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* 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 <vincent.legoll <at> gmail.com>
;;; Copyright © 2020 Pjotr Prins <pjotr.guix <at> thebird.nl>
;;; Copyright © 2021 Bonface Munyoki Kilyungi <me <at> bonfacemunyoki.com>
+;;; Copyright © 2021 Giacomo Leidi <goodoldpaul <at> autistici.org>
;;;
;;; 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
Information forwarded
to
guix-patches <at> gnu.org
:
bug#52397
; Package
guix-patches
.
(Fri, 10 Dec 2021 22:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
Hello,
Giacomo Leidi via Guix-patches via <guix-patches <at> gnu.org> writes:
> * gnu/packages/graphviz.scm (gprof2dot): New variable.
Applied. Thank you.
Regards,
--
Nicolas Goaziou
Reply sent
to
Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
:
You have taken responsibility.
(Fri, 10 Dec 2021 22:50:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Giacomo Leidi <goodoldpaul <at> autistici.org>
:
bug acknowledged by developer.
(Fri, 10 Dec 2021 22:50:03 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 08 Jan 2022 12:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 3 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.