224cbd2179
With v8_use_perfetto = true, tracing sessions are controlled by Perfetto, not TraceLog. This can lead to inconsistencies, e.g. TraceLog signalling trace start while V8's TrackEvent datasource hasn't been initialized yet. This CL removes the TraceStateObserver interface and replaces its uses with perfetto::TrackEventSessionObserver which correctly tracks Perfetto tracing sessions start and end. See also crrev.com/c/4066184 for the corresponding Chrome change. Bug: chromium:1006766 Change-Id: I94b2189c8b28aec8b17ec8fc1246e27c904e4ee9 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4062038 Reviewed-by: Camillo Bruni <cbruni@chromium.org> Commit-Queue: Mikhail Khokhlov <khokhlov@google.com> Cr-Commit-Position: refs/heads/main@{#84590} |
||
---|---|---|
.. | ||
DEPS | ||
libplatform-export.h | ||
libplatform.h | ||
v8-tracing.h |