Typically, ARM Streamline uses an active network connection to send captured data from the target to the host. If this is not possible because of limitations with your target, you can save the data to local target storage for manual transfer to your host.
To capture data locally:
Create a session.xml file. For an example
session.xmlfile, see the end of this topic.
Make sure to replace the
target_path. This ensures that Streamline saves the capture data locally. The
session.xmlexample at the end of this topic includes the
To pass the new
session.xmlfile as a parameter to
gatordon the command line, enter: ./gatord session.xml &
target_path attribute accepts the
the value of the title attribute to the file name and
a sequential number. In the following example, the first Streamline Capture
Data generated would be called
Normally, you can click the Stop button in the ARM Streamline Data view to stop a capture. Capturing data locally prohibits this method because you are not connecting to your target using the interface of Streamline. Use one of the following options to terminate the capture:
Specify a duration using the duration attribute in
session.xml, set the value of the
buffer_modevariable to something other than streaming. Use one of the following values: Large, Normal, or Small. A Large store-and-forward buffer is 16MB, while Normal is 4MB and Small is 1MB. The profiling session terminates automatically when it reaches the set buffer size.
Press Ctrl+C on the console to interrupt the gator daemon. The daemon must be running in the foreground.
Determine the process id of
gatordand enter the kill command: kill
When the capture stops, Streamline creates a .apc directory on the target with the data and .xml files. To view your Capture Data in Eclipse for DS-5, do the following:
Transfer the directory to your host.
Open Eclipse for DS-5.
If the ARM Streamline Data view is not already open, select Window → Show View → Other and choose ARM Streamline Data from the list of available views.
Click the Edit Locations... button in the upper right of the ARM Streamline Data View.
Choose the directory that contains the .apc directory that you transferred from your target.
Double-click on the .apc directory in the ARM Streamline Data view to open the Analyze dialog box.
Define your image files using the Analyze dialog box. Image files must match the images that you ran on your target during the local capture session.
For more information on using a stored capture session to generate a new Streamline Analysis Report, see Using Stored Streamline Capture Data to create new Streamline Analysis Reports.
Double-click on the Streamline Analysis Report in the ARM Streamline Data View.
You can also use the .apc capture directory to create a new analysis report. Double-click on the .apc directory in the ARM Streamline Data view to open the Analyze dialog box.
<?xml version="1.0" encoding="US-ASCII" ?> <session version="1" title="local-test" call_stack_unwinding="yes" buffer_mode="streaming" sample_rate="normal" target_path="@F_@N" duration="6"/>