Perfetto: Fix for worker threads not finalizing proto packets
This caused trace events for these threads to go missing as Perfetto was not able to recover them from the shared memory chunks. Also: * Removed an unused variable from TraceEventDataSink, * Read the same member out of a TraceEvent union as the one we write to (thread_id vs process_id). R=primiano@chromium.org Bug: 900669 Change-Id: I80d4e39b154b138a540770e227f1006fec0a91b2 Reviewed-on: https://chromium-review.googlesource.com/c/1311125Reviewed-by:Primiano Tucci <primiano@chromium.org> Commit-Queue: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#604486}
Showing
Please register or sign in to comment