You copied the Doc URL to your clipboard.

Capturing data on your target without an Ethernet connection

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 storage on the target and then manually transfer it to your host.

To capture data locally, follow these steps:

Procedure

  1. 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, copy a session.xml file from an existing capture.
  2. 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 gatord is running. This file is automatically used when you run gatord. To select a specific configuration file, use the -c option 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 the Creating a configuration.xml file topic.
  3. Enter the following command:

    ./gatord -s session.xml -o <YourFileName>.apc &

    The -s option defines the location of session.xml and the -o option defines the name and location of the resulting .apc output file.

  4. Stop the capture session. You can do so in a number of different ways:
    • Specify a maximum duration in seconds using the duration attribute in session.xml. Alternatively, use the Duration field in the Capture & Analysis Options dialog.
    • 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 gatord. gatord must be running in the foreground.
    • Determine the process id of gatord and enter the kill command: kill process_ID.
    When the capture stops, Streamline creates an .apc directory on the target with the data and .xml files.
  5. Transfer the newly created .apc directory to your host.
  6. Open Eclipse for DS-5.
  7. If the Streamline Data view is not already open, select Window > Show View > Other > DS-5 > Streamline Data.
  8. Click the Edit Locations... button in the upper right of the Streamline Data View.
  9. Choose the directory that contains the .apc directory that you transferred from your target.
  10. 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.
  11. 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.
  12. Click Analyze.
Was this page helpful? Yes No