build/unix/run-gprof.sh
author Ted Mielczarek <ted.mielczarek@gmail.com>
Wed, 23 Jul 2008 08:51:30 -0400
changeset 16135 2d5f6f032ae1e839f67a583879736208e7cbe828
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
merge to backout bug 112294

#!/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