run-gprof.sh 414 B

123456789101112131415161718
  1. #!/bin/sh
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. LD_LIBRARY_PATH=.
  6. export LD_LIBRARY_PATH
  7. PROG=mozilla-bin
  8. PLIBS=""
  9. for l in *.so components/*.so; do
  10. PLIBS="$PLIBS -incobj $l"
  11. done
  12. $ECHO /bin/gprof -L. -Lcomponents -all $PLIBS $PROG $PROG.hiout