Saving profiling data to an external file

Data collected from a profiling session can be saved to a file to be used later. Instead of the profiling data being displayed in the views it will be forwarded to file that you specify. The data can then be recreated in the Profiling Monitor view for consecutive sessions using Reload.

You can cause profiling data to be saved either when launching a process or after attaching to a process.

 

Saving profiling data when launching a process

After launching the process, no data is displayed in the Profiling and Logging views because it is being captured in the specified file instead.

 

Saving to a file after attaching to a process

After you attach to a process, you would start monitoring the application for any profiling data to be collected from it. To save the profiling data to a file, follow these steps before you start monitoring.

  1. Select the agent in the Profiling Monitor view. Right-click then select Properties. The Destination page opens.

  2. Enter the path and the name of the Profiling file to which you want to save the data from the profiling session.

  3. Complete the wizard.

You can now start monitoring the application. Click the Start Monitoring button

A button with stylized icon from toolbar of the Profiling Monitor view. The file is created in the directory that you specified, and will contain the profiling data from the session.

Related concepts
Overview of the Profiling Tool

Related tasks
Profiling an application
Saving profiling resources
Importing profiling resources