Sun Mar 4 09:21:04 2018 UTC ()
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.


(kamil)
diff -r0 -r1.1 pkgsrc/benchmarks/flamegraph/DESCR
diff -r0 -r1.1 pkgsrc/benchmarks/flamegraph/Makefile
diff -r0 -r1.1 pkgsrc/benchmarks/flamegraph/PLIST
diff -r0 -r1.1 pkgsrc/benchmarks/flamegraph/distinfo

File Added: pkgsrc/benchmarks/flamegraph/DESCR
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.

File Added: pkgsrc/benchmarks/flamegraph/Makefile
# $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"

File Added: pkgsrc/benchmarks/flamegraph/PLIST
@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

File Added: pkgsrc/benchmarks/flamegraph/distinfo
$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