2000-03-11 22:56:25 +03:00
|
|
|
#!/bin/sh
|
2012-05-21 15:12:37 +04:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2000-03-11 22:56:25 +03:00
|
|
|
|
|
|
|
LD_LIBRARY_PATH=.
|
|
|
|
export LD_LIBRARY_PATH
|
|
|
|
|
|
|
|
PROG=mozilla-bin
|
|
|
|
PLIBS="-L."
|
|
|
|
|
2000-06-10 14:56:51 +04:00
|
|
|
TOOL=hiprof
|
|
|
|
|
2000-03-11 22:56:25 +03:00
|
|
|
for l in ./*.so components/*.so; do
|
|
|
|
PLIBS="$PLIBS -incobj $l"
|
|
|
|
done
|
|
|
|
|
2000-06-10 14:56:51 +04:00
|
|
|
$ECHO atom $PROG -tool $TOOL -env threads -toolargs="-calltime -systime" -all $PLIBS
|
2000-03-11 22:56:25 +03:00
|
|
|
|
|
|
|
cd components && (
|
|
|
|
for f in lib*.so; do
|
2000-06-10 14:56:51 +04:00
|
|
|
mv ../$f.$PROG.$TOOL.threads .
|
2000-03-11 22:56:25 +03:00
|
|
|
done
|
|
|
|
)
|