build/unix/run-gprof.sh
author Sean Stangl <sstangl@mozilla.com>
Wed, 16 Nov 2011 15:10:34 -0800
changeset 105330 7c70058ad7b7503b674d110cd91209605fa80bfe
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
permissions -rw-r--r--
Merge. Write barriers have not yet been integrated.

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