[ui] Add SimpleSliceTrack & SimpleCounterTrack & use in battery plugin. - SimpleSliceTrack has all the same features of debug slice tracks. - SimpleCounterTrack has all the same features of debug counter tracks. - Both play nice with permalinks. - Converted AndroidLongBatterTracing to use registerStaticTrack & the aforementioned "simple" tracks. - Permalinks now work as expected. Change-Id: I1f899f619945c3111e9f5f717e3cb45c160b4b9d
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.