Record a system trace (original) (raw)

Record a system trace

A system trace shows you system-wide activities and resource usage, so you can see how your app processes are scheduled and run. The system trace view in the Android Studio Profiler is commonly used to investigate the following:

This page provides an overview of the most commonly used visuals in the system trace view. See the chart glossaryfor more details about visualizations not described here. For more detailed examples of what to use a system trace for, see the other pages in this section.

After you record a system trace, you see the following visualizations displayed over a timeline. You should focus on how different system resources are correlated; for example, if you notice a spike in the modem power rail, you should go to the threads section and see what thread activity could be causing the spike at the time.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-03-06 UTC.