pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/benchmarks/flamegraph benchmarks/flamegraph: import fl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00770cf96dc4
branches:  trunk
changeset: 376540:00770cf96dc4
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Mar 04 09:21:04 2018 +0000

description:
benchmarks/flamegraph: import flamegraph-1.0

Flame graphs are a visualization of profiled software, allowing the most
frequent code-paths to be identified quickly and accurately. They can be
generated using my open source programs which create interactive SVGs.

diffstat:

 benchmarks/flamegraph/DESCR    |   3 ++
 benchmarks/flamegraph/Makefile |  55 ++++++++++++++++++++++++++++++++++++++++++
 benchmarks/flamegraph/PLIST    |  21 ++++++++++++++++
 benchmarks/flamegraph/distinfo |   6 ++++
 4 files changed, 85 insertions(+), 0 deletions(-)

diffs (101 lines):

diff -r 183dec58b4ea -r 00770cf96dc4 benchmarks/flamegraph/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/flamegraph/DESCR       Sun Mar 04 09:21:04 2018 +0000
@@ -0,0 +1,3 @@
+Flame graphs are a visualization of profiled software, allowing the most
+frequent code-paths to be identified quickly and accurately. They can be
+generated using my open source programs which create interactive SVGs.
diff -r 183dec58b4ea -r 00770cf96dc4 benchmarks/flamegraph/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/flamegraph/Makefile    Sun Mar 04 09:21:04 2018 +0000
@@ -0,0 +1,55 @@
+# $NetBSD: Makefile,v 1.1 2018/03/04 09:21:04 kamil Exp $
+
+GITHUB_PROJECT=        FlameGraph
+DISTNAME=      flamegraph-1.0
+CATEGORIES=    benchmarks
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=brendangregg/}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.brendangregg.com/flamegraphs.html
+COMMENT=       Stack trace visualizer
+LICENSE=       cddl-1.0 AND apache-2.0
+
+USE_TOOLS+=    perl
+
+USE_LANGUAGES= # none
+
+REPLACE_AWK+=  *.awk
+REPLACE_PERL+= *.pl
+
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    bin
+
+do-install:
+.for file in   aix-perf \
+               difffolded \
+               files \
+               flamegraph \
+               pkgsplit-perf \
+               range-perf \
+               stackcollapse-aix \
+               stackcollapse-elfutils \
+               stackcollapse-gdb \
+               stackcollapse-go \
+               stackcollapse-instruments \
+               stackcollapse-jstack \
+               stackcollapse-perf \
+               stackcollapse-pmc \
+               stackcollapse-recursive \
+               stackcollapse-stap \
+               stackcollapse-vsprof \
+               stackcollapse-vtune \
+               stackcollapse
+       ${RUN} cd ${WRKSRC} && ${INSTALL_SCRIPT} \
+               ${file}.pl \
+               ${DESTDIR}${PREFIX}/bin/flamegraph-${file}
+.endfor
+.for file in   stackcollapse-ljp
+       ${RUN} cd ${WRKSRC} && ${INSTALL_SCRIPT} \
+               ${file}.awk \
+               ${DESTDIR}${PREFIX}/bin/flamegraph-${file}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r 183dec58b4ea -r 00770cf96dc4 benchmarks/flamegraph/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/flamegraph/PLIST       Sun Mar 04 09:21:04 2018 +0000
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1 2018/03/04 09:21:04 kamil Exp $
+bin/flamegraph-aix-perf
+bin/flamegraph-difffolded
+bin/flamegraph-files
+bin/flamegraph-flamegraph
+bin/flamegraph-pkgsplit-perf
+bin/flamegraph-range-perf
+bin/flamegraph-stackcollapse
+bin/flamegraph-stackcollapse-aix
+bin/flamegraph-stackcollapse-elfutils
+bin/flamegraph-stackcollapse-gdb
+bin/flamegraph-stackcollapse-go
+bin/flamegraph-stackcollapse-instruments
+bin/flamegraph-stackcollapse-jstack
+bin/flamegraph-stackcollapse-ljp
+bin/flamegraph-stackcollapse-perf
+bin/flamegraph-stackcollapse-pmc
+bin/flamegraph-stackcollapse-recursive
+bin/flamegraph-stackcollapse-stap
+bin/flamegraph-stackcollapse-vsprof
+bin/flamegraph-stackcollapse-vtune
diff -r 183dec58b4ea -r 00770cf96dc4 benchmarks/flamegraph/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/benchmarks/flamegraph/distinfo    Sun Mar 04 09:21:04 2018 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2018/03/04 09:21:04 kamil Exp $
+
+SHA1 (flamegraph-1.0.tar.gz) = 70705e2ae75e2b2649375898e799ae4fd29caab9
+RMD160 (flamegraph-1.0.tar.gz) = 0a25e7b89f4e258a9534a89510f33947f15be982
+SHA512 (flamegraph-1.0.tar.gz) = 0ae27fd14f76f0db7873a50079efb2bc4fd77ee6550700746b51eeee6813fbebb233d35d744e1b397734da9f89b25c4c0de3567f283cf1218ee7baee46e1b8e8
+Size (flamegraph-1.0.tar.gz) = 1049627 bytes



Home | Main Index | Thread Index | Old Index