commit | 8d17d180c6dc34343535919517266fad699e8de5 | [log] [tgz] |
---|---|---|
author | Hector Dearman <hjd@google.com> | Mon Sep 13 17:41:12 2021 +0100 |
committer | Hector Dearman <hjd@google.com> | Mon Sep 13 17:41:12 2021 +0100 |
tree | 7b0d7a646e9ead3e692cd5dbf9f282134a4e3792 | |
parent | b7e7cad97587522c542b06c677daef8761b72340 [diff] |
ui: Throw QueryError on query failure The metric code relies on queries throwing QueryError's when they fail in order to distinguish metric failures from other JavaScript issues. During the queryV2 refactoring we lost this and started throwing generic errors in some situations which meant a bad metric query could crash the whole UI. This converts those generic Errors back to QueryErrors. Bug: 199144962 Change-Id: I42c9fbaef831c032cd91fa881b28d287b392deea
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.