commit | 250501afe297bbe779bed17dc182f3018a95248f | [log] [tgz] |
---|---|---|
author | Lalit Maganti <lalitm@google.com> | Thu May 20 15:13:31 2021 +0100 |
committer | Lalit Maganti <lalitm@google.com> | Thu May 20 15:13:31 2021 +0100 |
tree | c42d4bbf4713ebbe572761cc983b4334689f25cb | |
parent | 465989082f0a585fdc70b70cc6ba7b56b8b9fe22 [diff] |
fixit: metrics: add support for strongly typed enum fields in metrics This CL adds the ability to specify enum values by using a string of their name rather than the integer value. This expands the support added in aosp/1661905. We also strengthen type-checking of enum values to make sure they are in bounds and migrate the 'trace_stats' metric to using enum strings rather than values. Change-Id: I7a6ff12b178373c0ddb078ec329ae1050971d621 Bug: 184265484
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.