svn commit: r437514 - in head/benchmarks: . flamegraph

Johannes M Dieterich jmd at freebsd.org
Sun Apr 2 02:59:07 UTC 2017


On 2017-04-01 22:18, Adam Weinberger wrote:
>> On 1 Apr, 2017, at 19:06, Johannes M Dieterich <jmd at FreeBSD.org> 
>> wrote:
>> 
>> Author: jmd
>> Date: Sun Apr  2 01:06:25 2017
>> New Revision: 437514
>> URL: https://svnweb.freebsd.org/changeset/ports/437514
>> 
>> Log:
>>  new port: benchmarks/flamegraph
>> 
>>  A trivial port of Brendan Gregg's collection of flamegraph scripts (a 
>> lot of shebang-fixes). This will allow developers to visually profile 
>> output from, e.g., ljp and dtrace to locate CPU and memory hogs in 
>> workloads.
>> 
>>  Reviewed by:	swills (mentor)
>>  Approved by:	swills (mentor)
>>  Differential Revision:	https://reviews.freebsd.org/D10233
>> 
>> 
>> +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
> 
> Do these not need to be executable?
Well, one could execute them using perl/bash. But I will mark them 
executable.

Thanks!


More information about the svn-ports-head mailing list