diff options
author | kamil <kamil@pkgsrc.org> | 2018-03-04 09:21:04 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2018-03-04 09:21:04 +0000 |
commit | ea7b207df3065619fe379a53c3b98e7cd3f563e6 (patch) | |
tree | 58801cde2f10c8e0701671bc3edc09cc5923e4db | |
parent | 7cbd04dd731aa25315fb188f8dc677c490ae2edd (diff) | |
download | pkgsrc-ea7b207df3065619fe379a53c3b98e7cd3f563e6.tar.gz |
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.
-rw-r--r-- | benchmarks/flamegraph/DESCR | 3 | ||||
-rw-r--r-- | benchmarks/flamegraph/Makefile | 55 | ||||
-rw-r--r-- | benchmarks/flamegraph/PLIST | 21 | ||||
-rw-r--r-- | benchmarks/flamegraph/distinfo | 6 |
4 files changed, 85 insertions, 0 deletions
diff --git a/benchmarks/flamegraph/DESCR b/benchmarks/flamegraph/DESCR new file mode 100644 index 00000000000..b4ebc8d2ce1 --- /dev/null +++ b/benchmarks/flamegraph/DESCR @@ -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 --git a/benchmarks/flamegraph/Makefile b/benchmarks/flamegraph/Makefile new file mode 100644 index 00000000000..ec599a70c42 --- /dev/null +++ b/benchmarks/flamegraph/Makefile @@ -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 +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 --git a/benchmarks/flamegraph/PLIST b/benchmarks/flamegraph/PLIST new file mode 100644 index 00000000000..7d7afa45ec5 --- /dev/null +++ b/benchmarks/flamegraph/PLIST @@ -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 --git a/benchmarks/flamegraph/distinfo b/benchmarks/flamegraph/distinfo new file mode 100644 index 00000000000..5280c32e696 --- /dev/null +++ b/benchmarks/flamegraph/distinfo @@ -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 |