commit | 29c569d1b050ac4be88edb3e7e3069f1ff595804 | [log] [tgz] |
---|---|---|
author | Hector Dearman <hjd@google.com> | Mon Jan 25 13:15:04 2021 +0000 |
committer | Hector Dearman <hjd@google.com> | Mon Jan 25 13:15:04 2021 +0000 |
tree | 65510f5f9c733ee1cccc38565d92b1de6569fda1 | |
parent | 122834484af3d2f68b0ee0320d0e9e08e4d59bad [diff] |
ui: Refactor per-thread track creation Remove a large amount track creation logic from the awful process/thread loop. Instead we now hand many methods which create tracks based on the track tables in the trace processor and we only use the loop to create & sort track groups. Behaviour wise this should be a no-op. Long term we should: - Remove the loop completely and group/sort tracks after the fact - Move from a 'push' based model (for each track kind the UI knows about we have method to query the TP) to a 'pull' based model (we iterate over the tracks in trace processor and create the most appropriate kind of track from those we have available). Change-Id: I66c9912149a521ad4b1b369a13c72b7916a5b533
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.