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} |
||
---|---|---|
.. | ||
default-job-unittest.cc | ||
default-platform-unittest.cc | ||
default-worker-threads-task-runner-unittest.cc | ||
DEPS | ||
single-threaded-default-platform-unittest.cc | ||
task-queue-unittest.cc | ||
tracing-unittest.cc | ||
worker-thread-unittest.cc |