commit | 27bd92f137d63196ed384c6ce5d29e7c684bb588 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Tue Jul 18 12:57:45 2023 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Tue Aug 01 13:06:33 2023 +0000 |
tree | 460270d2a11f3201c2ec33602a9e6d9ce416c4f1 | |
parent | a622148661a2ac2e733169e8492451bf2bb190ce [diff] |
shared_lib: New macro to initialize struct PerfettoProducerInitArgs Currently PerfettoProducerInitArgs has only one field, so it can be initialized with `{0}`. In the future, if we add more fields to PerfettoProducerInitArgs (we can do that, it's not part of the ABI), a `{0}` initializer will cause warnings. Let's add a macro to provide an initializer. The macro can be changed in case new fields are introduced. Bug: 184929776 Change-Id: I510ad2bbebb30d055a9d9b99e72d6955e27c73d7
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.