DescriptionDevTools: fix concurrency problems in DevToolsFrameTraceRecorder
DevToolsFrameTraceRecorder used to mutate the class being traced
after the moment when it was traced, which created potential races
against conversion of that class to trace format, potentially performed
on a different thread after trace completion. Let's create a
retrospective trace event when frame capture is done instead. Also,
convert the trace event from instant to object snapshot, which is
more appropriate for the data being logged.
Tracing: add TRACE_EVENT_OBJECT_SNAPSHOT_WITH_ID_AND_TIMESTAMP()
BUG=
Committed: https://crrev.com/42d6d7e559bb9d85487dc27ac88ae3dc3e4e2544
Cr-Commit-Position: refs/heads/master@{#335886}
Patch Set 1 #
Total comments: 2
Patch Set 2 : review comments addressed #
Messages
Total messages: 22 (9 generated)
|