Capturing data on your target
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 a later manual transfer to your host.
To capture data locally, follow these steps:
- Create a session.xml file. To do so, use the Capture & Analysis Options dialog box to set your capture options, then click the Export... button to save the new session.xml file. Alternatively, you can copy a session.xml file from an existing capture.
Create a configuration.xml file. To do
so, define your target in the Connection field, then open the Counter
Configuration dialog box from the Streamline
Data view. Set up the counters you want to collect, then click
Save. A new
configuration.xml file is created in the directory where
gatordis running. This file is automatically used when you run
gatord. To define a specific configuration file, use the
-coption when you run
gatord. If your target is not TCP/IP capable, you must create a configuration.xml file and manually transfer it to your target. For instructions on how to do this, see http://community.arm.com/thread/4568
Enter the following command:
./gatord -s session.xml -o <
-soption defines the location of session.xml and the
-ooption defines the name and location of the resulting .apc output file.
Stop the capture session. You can do so in a number of different ways:
- Specify a duration using the duration attribute in session.xml.
- In the Capture & Analysis dialog box, set the value of Buffer Mode 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
- Transfer the newly created .apc directory to your host.
- Open Eclipse for DS-5™.
- If the Streamline Data view is not already open, select Window > Show View > Other > DS-5 > Streamline Data.
- Click the Edit Locations... button in the upper right of the Streamline Data View.
- Choose the directory that contains the .apc directory that you transferred from your target.
- If you want to define image files for better data in the report views, double-click on the .apc directory in the 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.
- Click Analyze.