gen_amalgamated: Move cpp proto bindings from perfetto.cc to perfetto.h Since some of the tracing SDK functionality depends on cpp protobuf messages (e.g., track descriptors), move the definitions of these into the public perfetto.h header from the private perfetto.cc implementation. This ensures the full binding definitions are available for embedders to use. We also add some code to the SDK example that exercises the cpp bindings. Change-Id: Ife88c5fbca81ab1e5b6dfac2ff537e36b12b40a8
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.