TRACED(8)
NAME
traced - The Perfetto Tracing Service
DESCRIPTION
traced is the central daemon in Perfetto's
service-based architecture. It acts as the
grand central station for all tracing activity on the system, mediating
interactions between entities that want to record data (Producers) and entities
that want to control and read traces (Consumers).
In a typical system-wide tracing setup (like on Android or Linux), traced runs
as a long-lived background daemon, often started at system boot.
Architecture
Perfetto's architecture is designed for security and robustness, with traced
at its core. The model consists of three main components:
- Consumers: Trusted clients that configure and initiate tracing sessions.
The
perfettocommand-line tool is a common example of a consumer. - Service (
traced): The central daemon that manages tracing sessions, buffers, and the registry of data sources. - Producers: Untrusted clients that produce trace data. Producers
advertise their available data sources to
traced. A key example of a producer is