Add auto-pin debug track support for per-frame blocking call metrics. Extending the existing blocking call handler, modified the regex and added unit tests for the newly added per-frame blocking call metrics. More information on the metrics captured here: go/sysui-jank-frame-metrics URL Example - ui.perfetto.dev/#dev.perfetto.PinAndroidPerfMetrics:metrics=perfetto_android_blocking_call_per_frame-cuj-name-com.android.systemui-name-NOTIFICATION_SHADE_EXPAND_COLLAPSE::Collapse-blocking_calls-name-input-mean_dur_per_frame_ns-max Test: pinBlockingCall_unittest.ts run by using ./UI/run-unittests Bug: 390110267 Change-Id: I1dc28a6f64e1176c2441da12fe95c1c0655442d5
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.