TraceProcessor RPC: Allow Serialize into protozero The current QueryResultSerializer returns a vector<uint8_t>. This doesn't work anymore with the upcoming changes to the RPC which add a new layer above (the root TraceProcessorRpc). Instead switch the impl to take a protozero message as argument, so the serializer can be chained. Bug: 159142289 Test: perfetto_unittests --gtest_filter=QueryResultSerializerTest.* Change-Id: I9f4c2738e1147f1198a74e509862e3a0b2d118ba
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.