2.10 Performance analysis of threads application running on ARM® Linux

ARM Streamline is a graphical performance analysis tool. It provides timeline and analysis reports that highlight problem areas at system, process, and thread level, in addition to hot spots in the applications.


Before capturing the analysis data, ensure that:

  1. You obtain the IP address of the target. You can use the ifconfig application in a Linux console. The IP address is denoted by the inet addr.

  2. The ARM Linux Kernel is configured for Streamline.

  3. The threads application is copied to the target.

  4. The gator daemon is running on the target.


  1. Launch Eclipse.
  2. Launch a terminal shell and connect it to the target. You can use the terminal shell provided with Remote Systems Explorer (RSE).
  3. In the terminal shell, navigate to the directory where you copied the threads application.
  4. Ensure that you are in the C/C++ Perspective.
  5. Create a target connection:
    1. Select the Change capture options... toolbar icon in the Streamline Capture Data view.
    2. In the Name field, enter a suitable name for the new configuration.
    3. In the Connection panel, enter the IP address or name and the associated port number for the connection between the host workstation and the target.
    4. In the Capture panel, accept the default settings or customize as required.
    5. Click on Add Program... or Add program from Workspace... in the Program Images panel to open a dialog box where you can select the application image.
    6. Navigate to the threads application and click on Open or OK to close the dialog box.
    7. Click on Apply to save the settings.
    8. To start capturing the data, click on the Start capture toolbar icon in the Streamline Capture Data view.
  6. In the terminal shell, execute the following command to run the threads application:
  7. After you have completed running the threads application, return to the C/C++ Perspective in Eclipse.
  8. Click on the report in the Streamline Capture Data view to analyze the graphical data.

    Figure 2-13 Streamline Capture Data file

    Streamline Capture Data file

A Streamline Analysis Data file is generated automatically when you stop capturing the data or you can double-click on an existing analysis file to view it in the Editor.

Figure 2-14 Streamline Analysis Data file

Streamline Analysis Data file

Related reference
Examples provided with DS-5™
Related information
Using ARM Streamline
Non-ConfidentialPDF file icon PDF versionARM DUI0478N
Copyright © 2010-2013 ARM. All rights reserved.