Add the ability to use the START_TRACE trigger mode. This enables Perfetto to defer the start of a trace until a trigger is received, but the trace will be configured and ready to go when requested. The actual ability to send triggers is added in a follow up CL to keep this nicely split. Tests are added with the ability to send triggers again in the follow up CL. Which I will land together with this change. Bug: 128966650 Change-Id: Iabe5dc9a14ce33cbcd0330612711ae5c16fd2ada
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.