Page MenuHomeFreeBSD

D10233.diff
No OneTemporary

D10233.diff

Index: head/benchmarks/Makefile
===================================================================
--- head/benchmarks/Makefile
+++ head/benchmarks/Makefile
@@ -18,6 +18,7 @@
SUBDIR += fhourstones
SUBDIR += filebench
SUBDIR += fio
+ SUBDIR += flamegraph
SUBDIR += flops
SUBDIR += flowgrind
SUBDIR += forkbomb
Index: head/benchmarks/flamegraph/Makefile
===================================================================
--- head/benchmarks/flamegraph/Makefile
+++ head/benchmarks/flamegraph/Makefile
@@ -0,0 +1,52 @@
+# Created by: Johannes Dieterich <jmd@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= flamegraph
+PORTVERSION= g20170308
+CATEGORIES= benchmarks
+
+MAINTAINER= jmd@FreeBSD.org
+COMMENT= Stack trace visualizer
+
+LICENSE= CDDL
+LICENSE_FILE= ${WRKSRC}/docs/cddl1.txt
+
+BUILD_DEPENDS= bash>=0:shells/bash
+RUN_DEPENDS= bash>=0:shells/bash
+
+USE_GITHUB= yes
+GH_ACCOUNT= brendangregg
+GH_PROJECT= FlameGraph
+GH_TAGNAME= 74764af
+
+USES= shebangfix perl5
+NO_BUILD= yes
+
+SHEBANG_FILES= *.pl *.sh
+
+SOURCE_FILES= aix-perf.pl \
+ difffolded.pl \
+ files.pl \
+ flamegraph.pl \
+ pkgsplit-perf.sh \
+ range-perf.pl \
+ stackcollapse-aix.pl \
+ stackcollapse-elfutils.pl \
+ stackcollapse-gdb.pl \
+ stackcollapse-go.pl \
+ stackcollapse-instruments.pl \
+ stackcollapse-jstack.pl \
+ stackcollapse-ljp.awk \
+ stackcollapse-perf.pl \
+ stackcollapse-pmc.pl \
+ stackcollapse-recursive.pl \
+ stackcollapse-stap.pl \
+ stackcollapse-vtune.pl \
+ stackcollapse.pl
+
+do-install:
+.for FILE in ${SOURCE_FILES}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}/${PREFIX}/bin/${FILE}
+.endfor
+
+.include <bsd.port.mk>
Index: head/benchmarks/flamegraph/distinfo
===================================================================
--- head/benchmarks/flamegraph/distinfo
+++ head/benchmarks/flamegraph/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1491067519
+SHA256 (brendangregg-FlameGraph-g20170308-74764af_GH0.tar.gz) = f9b45d8df7e606749d86f86a7d83be63796aba42499362f20f8dcebfd2058cc4
+SIZE (brendangregg-FlameGraph-g20170308-74764af_GH0.tar.gz) = 960356
Index: head/benchmarks/flamegraph/pkg-descr
===================================================================
--- head/benchmarks/flamegraph/pkg-descr
+++ head/benchmarks/flamegraph/pkg-descr
@@ -0,0 +1,10 @@
+a stack-trace visualizer
+
+Flame Graphs visualize profiled code. Flame graphs can be created in three
+steps: 1) Capture stacks, 2) Fold stacks, 3) flamegraph.pl.
+Capturing stacks can be done with Linux perf_events, FreeBSD pmcstat (hwpmc),
+DTrace, SystemTap, and many other profilers. See stackcollapse-*
+converters. These stackcollapse scripts are used to fold the stacks.
+Flamegraph SVGs are created using the flamegraph.pl script.
+
+WWW: https://github.com/brendangregg/FlameGraph
Index: head/benchmarks/flamegraph/pkg-plist
===================================================================
--- head/benchmarks/flamegraph/pkg-plist
+++ head/benchmarks/flamegraph/pkg-plist
@@ -0,0 +1,19 @@
+bin/aix-perf.pl
+bin/difffolded.pl
+bin/files.pl
+bin/flamegraph.pl
+bin/pkgsplit-perf.sh
+bin/range-perf.pl
+bin/stackcollapse-aix.pl
+bin/stackcollapse-elfutils.pl
+bin/stackcollapse-gdb.pl
+bin/stackcollapse-go.pl
+bin/stackcollapse-instruments.pl
+bin/stackcollapse-jstack.pl
+bin/stackcollapse-ljp.awk
+bin/stackcollapse-perf.pl
+bin/stackcollapse-pmc.pl
+bin/stackcollapse-recursive.pl
+bin/stackcollapse-stap.pl
+bin/stackcollapse-vtune.pl
+bin/stackcollapse.pl

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 29, 11:51 PM (9 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32316073
Default Alt Text
D10233.diff (3 KB)

Event Timeline