commit | 73c07ed5ad6270dea9c88590926d049ef188b411 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Fri Feb 17 15:04:31 2023 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Thu Feb 23 14:39:17 2023 +0000 |
tree | 3abac32c433e4fa3ec133f98f79e38ce92bcd3f7 | |
parent | dce90b9ff65042877a53554fc76610aeb4310cf4 [diff] |
tracing: Allow initializing tracing backends separately. With this commit, users of the SDK can call Tracing::Initialize() with different backends (system or in-process) separately. Also, the system consumer backend can be initialized in Tracing::NewTrace, only if we're sure that we need that. This is going to be especially useful for the shared library, where it's easy to imagine having different code bases calling the initialization independently. Change-Id: Ic36414b7186b9e0b8569ffd5a53bdcb3e79ff560
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.