commit | 62e7ef0b53e13446297548e33b7ebf1de155c2f5 | [log] [tgz] |
---|---|---|
author | Aaron Vaage <vaage@google.com> | Mon Apr 15 12:16:49 2024 -0700 |
committer | Aaron Vaage <vaage@google.com> | Tue Apr 16 09:22:07 2024 -0700 |
tree | f3147c7831edd214c80c6e629ed29680dab40178 | |
parent | 2f29738e24250e52f101d0980941bfcccdfa3d41 [diff] |
Trace Redaction - Use Begin/End with CollectTimelineEvents CollectTimlineEvents was one of the reason Begin/End was added to the collect primitive. CollectTimelineEvents needs to be able to create the timeline instance (smart pointer) once, events multiple timelines, and then finalize it by sorting the events. The first behaviours were possible using the old model, but the last option was hard to support. Having the timeline be search-able in build phase is required to filter the frame timeline. However, previously the timeline was converted from write-only to read-only, another build primitive (optimize timeline). This would create a dependency between primitives in the same phase - we want to avoid that. Bug: 333404689 Change-Id: I3504e309d234e280345fce9771b0918b452e8071
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.