Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154588123
D10233.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D10233.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D10233: new port: benchmarks/flamegraph
Attached
Detach File
Event Timeline
Log In to Comment