1997-08-09 02:53:48 +00:00
|
|
|
@echo off
|
1999-02-20 20:34:14 +00:00
|
|
|
if (%1)==() echo Usage: %0 tracefile
|
|
|
|
if (%1)==() goto done
|
|
|
|
rem Need to fiddle with the dumped image so prep doesn't break it
|
|
|
|
obj\i386\preprep ..\src\obj\i386\emacs.exe ..\src\obj\i386\pemacs.exe
|
|
|
|
copy ..\src\obj\i386\temacs.map ..\src\obj\i386\pemacs.map
|
|
|
|
rem -----------------------------------------------------------------
|
1999-05-02 09:57:46 +00:00
|
|
|
rem Use this version to profile explicit commands only.
|
2001-11-19 15:05:54 +00:00
|
|
|
prep /om /ft /sf _Fexecute_extended_command ..\src\obj\i386\pemacs
|
1999-05-02 09:57:46 +00:00
|
|
|
rem -----------------------------------------------------------------
|
1999-02-20 20:34:14 +00:00
|
|
|
rem Use this version to ignore startup code
|
2001-11-19 15:05:54 +00:00
|
|
|
rem prep /om /ft /sf _command_loop_1 ..\src\obj\i386\pemacs
|
1999-02-20 20:34:14 +00:00
|
|
|
rem -----------------------------------------------------------------
|
|
|
|
rem Use this version to include startup code
|
2001-11-19 15:05:54 +00:00
|
|
|
rem prep /om /ft ..\src\obj\i386\pemacs
|
1999-02-20 20:34:14 +00:00
|
|
|
rem -----------------------------------------------------------------
|
1997-08-09 02:53:48 +00:00
|
|
|
if errorlevel 1 goto done
|
1999-02-20 20:34:14 +00:00
|
|
|
profile ..\src\obj\i386\pemacs %2 %3 %4 %5 %6 %7 %8 %9
|
1997-08-09 02:53:48 +00:00
|
|
|
if errorlevel 1 goto done
|
1999-02-20 20:34:14 +00:00
|
|
|
prep /m ..\src\obj\i386\pemacs
|
1997-08-09 02:53:48 +00:00
|
|
|
if errorlevel 1 goto done
|
1999-02-20 20:34:14 +00:00
|
|
|
plist ..\src\obj\i386\pemacs > %1
|
1997-08-09 02:53:48 +00:00
|
|
|
:done
|
2003-09-02 19:14:00 +00:00
|
|
|
|