commit | ae7494c9d16f12bf5d78752e317af925ec6b695c | [log] [tgz] |
---|---|---|
author | Sami Kyostila <skyostil@chromium.org> | Fri May 07 12:09:46 2021 +0000 |
committer | Sami Kyostila <skyostil@google.com> | Fri May 07 12:11:12 2021 +0000 |
tree | e02a4cb88d03c98c494cc7ee9c02665c76114efc | |
parent | 7dc7013d1b97fe8e4a1b653ae7c819e946ab1bc7 [diff] |
tracing: Set singleton instance before posting init task Set the muxer instance field before posting the task to initialize the muxer. This way the memory fence guaranteed by PostTask ensures that the initialization function sees a valid muxer instance. Change-Id: I2c64e795132d00a6f37ec70dee041013933d90d9
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.