Saving profiling resources
Profiling resources such as the data collected, or the profiling filters created can be saved to an external file.
Saving profiling data
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 by selecting File > Import... > Profiling and Logging > Profiling File option.You can cause profiling data to be saved to an external file in the Profile configuration dialog..
- While launching a process use the Destination tab to specify Send profiling data to a file.
- Enter the path and the name of the Profiling file to which you want to save the data from the profiling session.
- By default, the file is saved with extension trcxml, but you can specify your own extension by enclosing the file name and extension in double quotation marks.
- You can still pause and restart monitoring as if profiling data were being directed to the Profiling and Logging views. You can also run garbage collection or Collect Object Reference information.
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 profiling filters
Profiling filters created during a profiling session can be saved to an external file.
- To export a filter from a profiling session, right-click on the process or agent, and select Export.
- Select Profiling and Logging > Profiling filter from the Export wizard. Click Next.
- Select the filters that you want to export using the arrow keys.
- Specify the name of the file that the filters will be saved to in the Filter file field.
- Click Finish.
Related concepts
Overview of the Profiling ToolRelated tasks
Profiling an application
Importing profiling resources
(C) Copyright IBM Corporation 2000, 2008. All Rights Reserved.