Merge cherrypicks of ['googleplex-android-review.googlesource.com/33510415'] into 25Q2-release. Change-Id: I4dd7fcfe6161ea01c21ca7c456fd831da8f2c45e
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.