/build/unix/run-gprof.sh

http://github.com/zpao/v8monkey · Shell · 13 lines · 8 code · 4 blank · 1 comment · 1 complexity · 788c0b26b1a87a77e4ddac167acff7d9 MD5 · raw file

  1. #!/bin/sh
  2. LD_LIBRARY_PATH=.
  3. export LD_LIBRARY_PATH
  4. PROG=mozilla-bin
  5. PLIBS=""
  6. for l in *.so components/*.so; do
  7. PLIBS="$PLIBS -incobj $l"
  8. done
  9. $ECHO /bin/gprof -L. -Lcomponents -all $PLIBS $PROG $PROG.hiout