Fix time-in-state thread ordering inside processes. SELECT DISTINCT appears to maintain order, while GROUP BY doesn't. This was missed from f81f0b4. Bug: 157216280 Change-Id: I3e2981db89d41afd4d36bffb5a0efa7d71dd5676
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.