Fixes to counter_span_view_merged. * Don't require globalness the way global_span_view does. * Rename it to make that clearer. * Use it consistently when assembling android_batt_event. This fixes incorrect appearance of the friendly charging / plug type tracks. We were only taking note of the system properties, not atrace events when building them. Bug: 270696978 Change-Id: I546da24de249d3473d04fb25d45ce0c5a43a07ef
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.