commit | 7e8ab0ace93b3f7d3638b90c6f27e43ffdeb2775 | [log] [tgz] |
---|---|---|
author | Stephen Nusko <nuskos@google.com> | Fri Apr 09 16:07:16 2021 +0100 |
committer | Stephen Nusko <nuskos@google.com> | Fri Apr 09 16:07:16 2021 +0100 |
tree | 3115226ad23204848bcf0325211f92f448d9a037 | |
parent | f9a98e67109519f6c0fda220a89244425522b0ef [diff] |
Correctly import CompleteEvents with thread times. In aosp/1589159 I mistakenly imported Complete events as Begin events causing large slice stacks to form. This fixes that by correctly using ScopedTyped instead. Also since ParseThreadBeginEvent & ParseThreadCompleteEvent already have if (!utid_) simplify the logic while I'm here to improve readability. Bug: 178379929 Change-Id: I63fa3b50393b556df5f21ce7e2b41958e3ea868a
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.