# [Use Arm Streamline to capture data for your application](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/streamline/)

## In this learning path

- [Introduction](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/)
- [Set up Arm Performance Studio](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/ams/)
- [Set up an Android application for profiling](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/setup_tasks/)
- [Interpret an example Arm Streamline report](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/streamline_example/)
- [Use Arm Streamline to capture data for your application](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/streamline/)
- [View an example Performance Advisor report](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/pa_example/)
- [Create a Performance Advisor report for your application](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/pa/)
- [Analyze your application with Frame Advisor](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/fa/)
- [Debug your application with RenderDoc for Arm GPUs](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/renderdoc/)
- [Analyze shader program performance with Mali Offline Compiler](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/malioc/)
- [Next Steps](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/_next-steps/)

## Select the device and application in Streamline
Now that you’ve seen an [Arm Streamline example capture](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/streamline_example/), you can use it to capture data from your own application.

1. Launch the Performance Studio Hub and open Streamline.
   - On Windows, search for Performance Studio.
   - On macOS and Linux, open the Performance Studio application file from the install directory.
   ![Screenshot of the Arm Performance Studio Hub showing the Streamline launch card used to open Streamline](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/images/ps_hub.png)
   
2. In the Streamline **Start** view, select **Android (adb)** as your device type, then select your device from the list of detected devices. This installs the `gatord` daemon and connects to the device.

3. Wait for the list of available packages to populate, then select the application you want to profile.

4. With **Capture Arm GPU profile** selected, Streamline detects the Arm GPU in the device, and selects an appropriate counter template for it. Alternatively, to choose a different template or to build your own configuration, select **Use advanced mode** and select **Configure counters**.
   ![Screenshot of the Streamline Start view with Android adb selected, a connected Samsung device selected, a debuggable application selected, and Capture Arm GPU profile enabled](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/images/start.png)

<details>
<summary>Tip</summary>
Optionally, you can set a preferred location to store your captures using **Window** > **Preferences** > **Data Locations**. New reports are created in the topmost folder specified.
</details>

## Capture data
1. Select **Start capture** to start capturing profile data from the device. Enter a name and location for the capture file.

2. The application starts automatically on the device. Interact with the application as desired for the profiling run you want to do.

3. When you’ve collected enough data, select **Stop capture**.  
   ![Screenshot of Streamline during a capture with the Stop capture button highlighted and performance charts updating in the Timeline view](https://learn.arm.com/learning-paths/mobile-graphics-and-gaming/ams/images/stop_capture.webp)  
   Streamline stops capturing data, removes the daemon, and processes the captured data.

## Analyze the results
The charts in the **Timeline** view show the performance counter activity captured from the device. Hover over the charts to see the values at that point in time. Use the Calipers to focus on particular windows of activity.

For instructions to use the features in the **Timeline** view, see the [Streamline User Guide](https://developer.arm.com/documentation/101816/latest/Analyze-your-capture).

To understand how to interpret the capture from different points of view, see [Android performance triage with Streamline](https://developer.arm.com/documentation/102540/latest/).

## What you’ve accomplished and what’s next
You’ve now generated and analyzed an Arm Streamline report for your application.

Next, you’ll view an example Performance Advisor report.
