commit | 037282790b01e71cf004c3bc05b035d62eff8206 | [log] [tgz] |
---|---|---|
author | Daniele Di Proietto <ddiproietto@google.com> | Mon Nov 21 20:07:16 2022 +0000 |
committer | Daniele Di Proietto <ddiproietto@google.com> | Tue Nov 22 18:15:02 2022 +0000 |
tree | a779d6398b870f6daaafd479e56fe7d8e1ddf037 | |
parent | 4f6803dfe01e8e9f05957329f0475044dc658990 [diff] |
tracing: Send triggers on connection The newly introduced ActivateTriggers only sends triggers to the currently connected backends. Since perfetto::Tracing::Initialize() is not blocking, it can happen that a backend takes a while to connect. If a registered backend is not connected when ActivateTriggers is called, the system will remember that and send the trigger when the backend connects. An expiration must be provided to avoid sending triggers if the tracing service takes too much to connect. Bug: 259929612 Change-Id: I183ef3ae04e960797adc835e137f854d0ebd409d
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.