Postmortem profiling

When it's not possible to run an application from the IDE, but it's possible to re-compile application, run it on a target and transfer results back to host machine, you can use the results of postmortem profiling to transfer the results using the Import wizard.
To profile the application, follow these steps:
  1. Enable binary instrumentation for profiling (see Profiling features).
  2. Recompile the application and transfer the binary to a target machine.
    Next, create a profiler session by importing profiler data. Ensure that you compile the binary with instrumentation enabled.
  3. Run the instrumented binary on the target with data collection enabled.
  4. Transfer the output file to the host machine.
  5. Open the Application Profiler perspective.
  6. In the Profiler Sessions view, click the Import Application Profiler Session icon to import the data:

    The Application Profiler Import wizard opens.

  7. Select a file to import, and then click Next.
  8. Select the name of a session that you want to import.
  9. Click Finish.
    The IDE creates a new Application Profiler session and populates it with the imported data, as well as populating the Execution Time view with data.
The Application Profiling session is ready to use.