Profiling resources such as the data collected, or the profiling filters created can be saved 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.
After launching the process, no data is displayed in the Profiling and Logging views because it is being captured in the specified file instead.
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.
You can now start monitoring the application. Click the Start Monitoring
button
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.
Profiling filters created during a profiling session can be saved to an external file.
Profiling resources such as hosts, monitors, processes and agents can be saved to an XMI file. To save the profiling resources that are visible in the Profiling Monitor view:
Objects | File Extension |
---|---|
monitor | .trcmxmi |
host | .trcnxmi |
process | .trcpxmi |
agent | .trcaxmi |
Warning: Saving data to disk may be resource intensive. To limit the amount of profile data collected specify profiling filters.
Related concepts
Overview of the Profiling Tool
Related tasks
Profiling an application
Importing profiling resources
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.