commit | 3c067a74db35c9746a104ea71e7873fb723e35a3 | [log] [tgz] |
---|---|---|
author | Stephen Nusko <nuskos@google.com> | Thu Apr 01 15:32:21 2021 +0100 |
committer | Stephen Nusko <nuskos@google.com> | Thu Apr 01 18:01:04 2021 +0000 |
tree | 1a074596188dbed5ffbcc4ae5de93a9d840b35cc | |
parent | 331640cd4368ee059ea7cb048a3a9252b277b235 [diff] |
Ensure that "ThreadController active" events aren't included in our breakdown of flow events. These are special ones which track the ThreadController being active, and thus span multiple tasks. We currently assume the top level parent is just the current task running, but "ThreadController active" can span multiple tasks and thus should be removed. Update scroll_jank_mojo_simple_watcher.py to prevent regression (this test failed after modification of the .py and before the scroll_flow_event.sql change). Also update the metric to handle the new FINISHED_SWAP_BUFFERS to end, since the end will be on the threadpool we aren't interested in the tasks which block the threadpool from running. Bug: 184134310 Change-Id: Ia4196aa6ad8e7db3be072e639aa03f15c94029e6
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.