run-hiprof.sh 548 B

1234567891011121314151617181920212223242526
  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="-L."
  9. TOOL=hiprof
  10. for l in ./*.so components/*.so; do
  11. PLIBS="$PLIBS -incobj $l"
  12. done
  13. $ECHO atom $PROG -tool $TOOL -env threads -toolargs="-calltime -systime" -all $PLIBS
  14. cd components && (
  15. for f in lib*.so; do
  16. mv ../$f.$PROG.$TOOL.threads .
  17. done
  18. )