Use non-deprecated fields in generated Perfetto configuration. While here, explicitly set the clock type used for callstack sampling to `PERF_CLOCK_MONOTONIC`. Bug: 267137202 Change-Id: I144e917cf134e05ad6a842e092cb77d98b0a41ff
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.