Create a profiler session by importing profiler data

You can create a profiler session by importing .gmon, .kev, or .ptrace files using the Import action from the Profiler Sessions view.

Before you start, you must:

  • compile the binary with instrumentation enabled
  • transfer the binary to the target machine
To profile in this scenario, follow these steps:
  1. Run the instrumented binary on the target with profiling enabled (see Build with profiling enabled ).
  2. Transfer the output file to the host machine.
  3. Open the Application Profiler perspective.
  4. In the Profiler Sessions view, perform an Import.
The IDE creates a new Application Profiler session and populates it with the imported data, as well as the Execution Time view. Now, your Application Profiler session is ready for inspection.