ui: Fix drawIncompleteSlice crash drawIncompleteSlice mutated ctx.fillStyle which was non-obvious for callers. Restore the original value on exit and add a more helpful error message. Change-Id: I735764505f59fe81949124fec7ccf603ee6fe770 Bug: 304384750
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.