You copied the Doc URL to your clipboard.

Performance analysis of the threads application running on Arm Linux

Arm® Streamline is a graphical performance analysis tool. It captures a wide variety of statistics about code running on the target and uses them to generate analysis reports. You can use these to identify problem areas at system, process, and thread level, in addition to hot spots in the code.


This tutorial uses the threads_v7A example application to show how to use Arm Streamline to capture and analyze profiling data from a Linux target. threads_v7A and threads_v8A are two of the Arm Linux application examples that are provided with Arm Development Studio.

Before capturing the data, ensure that:


  • For more information about building and running the threads application on a Linux target see the readme.html supplied in the same directory as the source code for the example.
  • For more information about how to configure your target for Arm Streamline, see the Arm Streamline User Guide.


  1. Launch Arm Development Studio.
  2. In the Remote Systems view, click define_connection_button and define a connection to the target
  3. Launch the Arm Streamline application.
  4. Specify the IP address or network name of the target in the Address field. Alternatively, use the Browse for a target button, as shown in the following screenshot:

    Figure 10-8 Streamline Data view

    Streamline Data view

  5. Click the Capture & analysis options button. In the Program Images section, select the threads image from the workspace, then select Save.
  6. In Arm DS select Run > Debug configurations... then select the threads-gdbserver debug configuration. This configuration downloads the application to the target, starts gdbserver on the target and starts executing the application, stopping at main().
  7. Connect to the target either by clicking Debug in the Debug Configurations dialog, or by right-clicking on the connection in the Debug Control view and selecting Connect to target.
  8. The program stops at main(). To start capturing data, switch to the Streamline application and click start_capture_button . Give the capture file a unique name. The Live view opens in Streamline, displaying the capture data in real time.
  9. In Arm DS, click Continue to continue executing the code.
  10. When the application terminates, in Arm Streamline, click stop_capture_button to stop the capture.

Arm Streamline automatically analyzes the capture data and produces a report, which it displays in the Timeline view, as shown in the following screenshot:

Figure 10-9 analysis report for the threads application

analysis report for the threads application

Was this page helpful? Yes No