commit | e8020f9e8dd785f96f5f15d3cec71fa43e6c4882 | [log] [tgz] |
---|---|---|
author | Primiano Tucci <primiano@google.com> | Tue Nov 26 13:24:01 2019 +0000 |
committer | Primiano Tucci <primiano@google.com> | Tue Nov 26 13:24:01 2019 +0000 |
tree | fd1936ed12348ba3b85109196304725b7a23aa7d | |
parent | d0dd9068ec64ddcf8f1f6a40a52d03f7cb9e08a1 [diff] |
Remove libprotobuf from IPC layer This CL switches the IPC layer to use directly the protozero-based .gen.{cc,h} classes and stop relying on libprotobuf. After this CL the traced and traced_probes are fully protobuf-free and the amalgamated SDK becomes fully hermetic. There are few dependencies left on libprotobuf outside this, namely: (1) tests, (2) perefetto cmdline client, (3) some tools, (4) trace-processor libprotobuf-full for reflection on metrics .proto files. This CL: - Updates the .gen.{cc,h} and .ipc.{cc,h} to take a wrapper_namespace argument. This makes them consistent with the protozero plugin. - Moves all .gen.{cc,h} classes into the ::perfetto::protos::gen namespace. Update forward_decls.h to alias the old types for TraceConfig and the like into ::perfetto. - Updates the sources in the ipc layer to use the moved classes in the "gen" namespace. Bug: 132880619 Change-Id: I72a441afe800f1a0ca45dc12ea8029528f5e0aab
Perfetto is an open-source project for performance instrumentation and tracing of Linux/Android/Chrome platforms and user-space apps.
See www.perfetto.dev for docs.
You can reach us on our Discord channel. If you prefer using IRC we have an experimental Discord <> IRC bridge synced with #perfetto-dev
on Freenode.