services/tracing: Implement a Perfetto producer backend
This patch implements a producer backend for Perfetto's client library using the mojo-based PerfettoService. This makes it possible to use Perfetto's client library to emit trace events. Since the perfetto service only supports one producer for each process, we introduce a feature flag (EnablePerfettoClientApiProducer) to enable the client library producer instead of the TraceLog implementation. Note that since no producers are actually ported to the client library yet, no trace events currently are generated when using this flag. Bug: b/158460810, 839071 Change-Id: Ief61793cba9fe6d5fb8e2a9330f9c06cccd0942a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283307 Commit-Queue: François Doray <fdoray@chromium.org> Reviewed-by:François Doray <fdoray@chromium.org> Reviewed-by:
Stephen Nusko <nuskos@chromium.org> Reviewed-by:
Eric Seckler <eseckler@chromium.org> Auto-Submit: Sami Kyöstilä <skyostil@chromium.org> Cr-Commit-Position: refs/heads/master@{#790558}
Showing
This diff is collapsed.
Please register or sign in to comment