[metrics]: Add logical binder breakdowns to binder metrics In a follow-up after verifying this successfully in the field. We can remove the following fields: 1. thread_state_breakdowns: logical_breakdowns is a more useful breakdown 2. process_breakdown: This is not very useful and can be replaced by the more powerful and general android_anomaly metric. Test: tools/diff_test_trace_processor.py out/android/trace_processor_shell --name-filter '.*AndroidMetrics:binder_metric.*' Change-Id: Ib57b0fe22ad33859c148e104d51b9e888e738f65
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.