Perfetto: Start tracing as soon as the Consumer endpoint is created
Previously this was done in the OnConnect() callback, but it turns out this is called via PostTask() so if tracing gets disabled immediately after it's enabled, the disable call can come in between and causes test failures due to the StopAndFlush callback never happening. Bug: 873073,872631 Change-Id: I343060c5e4b9d66575e6b8fe71a28cc9b706a429 Reviewed-on: https://chromium-review.googlesource.com/1171658Reviewed-by:Siddhartha S <ssid@chromium.org> Commit-Queue: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#582758}
Showing
Please register or sign in to comment