To profile a child process, you must first instrument the child executable. To do that, instrument the child executable separately by typing the following at the command line:
quantify /Run=no /Replace=yes child.exe
Quantify instruments the executable, renames the original file to Child.exe.original, and names the instrumented version Child.exe. This way, when the parent process starts Child.exe with CreateProcess, it actually starts the instrumented executable. Now when you instrument and run Parent.exe it brings up Quantify so you can see data for both the parent and child process displayed in separate sets of data analysis windows.
Note:
§ If you are using Microsoft Windows 2000 or higher, the Windows File Protection feature (WFP) may prevent certain types of files from being replaced. For a workaround to this problem, click .
(C) Copyright IBM Corporation 1993, 2009.