tracing: Write track descriptors before events on the track Make sure track descriptors are written before any event on that track. Trace Processor expects track descriptors to precede events for, e.g., counters, so it's simplest if we always make sure the track descriptor is written first. Bug: 180293756 Change-Id: I16ef57c72dd4ddd86eece8aab8456d8846f3d9f9
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://perfetto.dev/docs or the /docs/ directory for documentation.