build/unix/run-gprof.sh
author jason
Thu, 12 Jul 2007 14:09:30 -0400
changeset 2445 899ca1f39f075de58edd9f66d8ad78774ca2f073
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 98529 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Bug 387910 - mozilla-central .hgignore file is incomplete (r=luser)

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