Capturing Data On Your Target - ARM DS-5 Manual

Hide thumbs Also See for DS-5:
Table of Contents

Advertisement

11.1

Capturing data on your target

ARM DUI 0482K
ID120712
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:
1.
Create a session.xml file. For an example
Note
accepts existing
gatord
capture.
2.
Enter the following command:
YourFileName.apc &
The
option defines the location of session.xml, while the
-s
and location of the resulting .apc output file.
Normally, you can click the Stop button in the 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
In
, set the value of the
session.xml
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
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:
1.
Transfer the directory to your host.
2.
Open Eclipse for DS-5.
If the Streamline Data view is not already open, select Window → Show View → Other
3.
and choose Streamline Data from the list of available views.
4.
Click the Edit Locations... button in the upper right of the Streamline Data View.
5.
Choose the directory that contains the .apc directory that you transferred from your target.
6.
Double-click on the .apc directory in the Streamline Data view to open the Analyze dialog
box.
7.
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.
Note
For more information on using a stored capture session to generate a new Streamline
Analysis Report, see
Analysis Reports on page
Copyright © 2010-2012 ARM. All rights reserved.
Non-Confidential
session.xml
files. You can copy a session.xml file from an existing
session.xml
./gatord -s session.xml_location/session.xml -o
buffer_mode
and enter the kill command:
gatord
Using Stored Streamline Capture Data to create new Streamline
11-9.
Advanced Customizations
file, see the end of this topic.
option defines the name
-o
.
session.xml
variable to something other than
kill process_ID
.
11-2

Advertisement

Table of Contents
loading

Table of Contents