commit | 5fd8a4c8dc846ee3ad9bdb11bed73ee1401c8094 | [log] [tgz] |
---|---|---|
author | Dan Elphick <delphick@google.com> | Fri Nov 13 17:20:07 2020 +0000 |
committer | Dan Elphick <delphick@google.com> | Fri Nov 13 17:20:07 2020 +0000 |
tree | 0218abfb2f11110bba885f4edc1846c962435e97 | |
parent | 08057827f8ede312dd3d96b163f10d76dc3b021c [diff] |
metrics: Force modified_rail_slices to be empty if not valid The modified_rail_slices view uses data from the VSync event to divide RAIL_MODE_ANIMATION slices into foreground_idle and animation. Since this event is only emitted on Android, the modified_rail_slices will have no animation and only foreground_idle on other platforms which may given a misleading pictures. To that end, this adds chrome/chrome_trace_metadata.sql which extracts trace metadata currently restricted to trace categories and OS, which are then used to force the modified_rail_slices view to be empty if its value would not be valid. Bug: 173094735 Change-Id: I7d630c15de56fd656e86f6d744a49a30357e8f03
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.