RetroZilla/build/unix/run-gprof.sh
2015-10-20 23:03:22 -04:00

14 lines
214 B
Bash

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