зеркало из https://github.com/mozilla/pjs.git
Helper scripts for Digital Unix atom tools. Not part of the
default build.
This commit is contained in:
Родитель
5add8d6c65
Коммит
7701f2e48b
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh
|
||||
|
||||
LD_LIBRARY_PATH=.
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
PROG=mozilla-bin
|
||||
PLIBS=""
|
||||
|
||||
for l in *.so components/*.so; do
|
||||
PLIBS="$PLIBS -incobj $l"
|
||||
done
|
||||
|
||||
$ECHO /bin/gprof -L. -Lcomponents -all $PLIBS $PROG $PROG.hiout
|
|
@ -0,0 +1,19 @@
|
|||
#!/bin/sh
|
||||
|
||||
LD_LIBRARY_PATH=.
|
||||
export LD_LIBRARY_PATH
|
||||
|
||||
PROG=mozilla-bin
|
||||
PLIBS="-L."
|
||||
|
||||
for l in ./*.so components/*.so; do
|
||||
PLIBS="$PLIBS -incobj $l"
|
||||
done
|
||||
|
||||
$ECHO atom $PROG -tool hiprof -env threads -toolargs="-calltime -systime" -all $PLIBS
|
||||
|
||||
cd components && (
|
||||
for f in lib*.so; do
|
||||
mv ../$f.hiprof.threads .
|
||||
done
|
||||
)
|
Загрузка…
Ссылка в новой задаче