perfetto
Perfetto is an open-source system-wide tracing framework developed by Google for performance analysis on Android and Linux-based platforms. It provides a unified instrumentation and data pipeline for capturing events across the system, including kernel, driver, and user-space processes, as well as graphics and I/O events. Perfetto is used to investigate performance, latency, and resource usage in Chrome, Android, and other projects.
Perfetto consists of a daemon that runs on the device, a client library and command-line tool, a
Traces are captured according to a trace configuration that selects data sources (providers) such as ftrace,
Users collect traces by configuring buffers and providers, starting the perfetto process, then stopping and saving
Perfetto is widely adopted in Android and Chrome projects as the standard framework for system-wide tracing;