client api: Add a way to read trace statistics This patch adds a way for reading trace statistics from a tracing session in the form of serialized TraceStats protos. We expose the statistics in a serialized form to avoid needing users to depend on the full gen::TraceStats class definition. Bug: 158460267 Change-Id: I781d8e00700d168579cc13b66d4eb98e97f7aa7d
Perfetto is a production-grade open-source stack for performance instrumentation and trace analysis. It offers services and libraries and for recording system-level and app-level traces, native + java heap profiling, a library for analyzing traces using SQL and a web-based UI to visualize and explore multi-GB traces.
See https://docs.perfetto.dev or the /docs/ directory for documentation.