[tp] MetatraceConfig Instead of passing metatrace categories directly, require users to pass a dedicated struct (MetatraceConfig). This makes it more future-proof and will allow us to add new parameters (e.g. metatrace buffer size) without major callsite changes. R=lalitm@google.com Change-Id: I0ca44b9e99a1001b4e7737336c19ec4443be23ec
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.