build/unix/run-gprof.sh
author Kan-Ru Chen <kanru@kanru.info>
Wed, 07 Mar 2012 12:03:25 +0100
changeset 91709 72bc6f12d1cc5237b7347f2ed737e929def0ad07
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 98983 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 697132 - Implement wakelock interfaces. r=jlebar

#!/bin/sh

LD_LIBRARY_PATH=.
export LD_LIBRARY_PATH

PROG=mozilla-bin
PLIBS=""

for l in *.so components/*.so; do
    PLIBS="$PLIBS -incobj $l"
done

$ECHO /bin/gprof -L. -Lcomponents -all $PLIBS $PROG $PROG.hiout