commit | 8e3383d42c55cdb340b31aa2f899786e9e83f976 | [log] [tgz] |
---|---|---|
author | Steve Golton <stevegolton@google.com> | Mon Sep 02 14:58:16 2024 +0100 |
committer | Steve Golton <stevegolton@google.com> | Tue Sep 03 06:58:56 2024 +0000 |
tree | 06142a420cbb4b3cfd7b2563018c5fd65eb225ba | |
parent | 5a10c63885c6a5a3825f1c15a08d4fff5ec41906 [diff] |
ui: Decentralize track grouping and sorting Plugins can now: - Create TrackNodes and GroupNodes manually, giving them complete control over track grouping and sorting. - Add their tracks and groups directly to the current workspace, eliminating the need for the registerTrackAndAutoShow() API. - Control sorting relative to other tracks by specifying `sortOrder` on their TrackNodes and GroupNodes. - Contribute tracks to common process and thread groups using: - getOrCreateGroupForProcess() - getOrCreateGroupForThread() Plugins now take advantage of these new features to build the track tree in a decentralized way, which (almost) removes the need for TrackDecider. The scope of TrackDecider has been reduced to performing the generic grouping of various global tracks based on track name. Change-Id: Icc4342c4371721546db6549b7c57bd0df7c13ffc
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.