base: Add crash keys This CL adds support for crash keys (named after chromium's CrashKey). A Crash Key is a global variable, which can be either cleared, set to an integer value or a string value. When a crash report is generated, the non-cleared crash keys are appended to the crash log. Test: perfetto_unittests --gtest_filter=CrashKeysTest.* Bug: 202283508 Change-Id: I4b374d22a97659bb9598c01e3e88fa4bb88bb59f
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.