[TrackEvent] Fix handling of legacy disabled-by-default categories Chrome's handling of "disabled-by-default" categories doesn't fully map into Perfetto tags. Perfetto tagged categories can only be enabled individually (without wildcards) when the tag is disabled. But in Chrome we can enable multiple disabled-by-default categories by a pattern if the pattern itself starts with "disabled-by-default". So for example we can enable "disabled-by-default-devtools.timeline*" and have all corresponding categories enabled. This CL makes TrackEvent consistent with Chrome in handling disabled-by-default categories. Bug: b/257422128 Change-Id: I7b60db4e493b65c758240595aff87b48ca7f6b00
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.