2000-03-11 22:56:25 +03:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
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
|
|
|
|
)
|