perfetto: Revert exporting to atrace when tracing using perfetto
Our webview startup benchmark gets confused if we export to atrace, because it is tracing both via atrace and chrome. If we export correctly to atrace, we end up with duplicate events in chrome. Before my recent begin/end split patch, we only exported END events to atrace, which were pretty meaningless on their own. This patch essentially restores the behavior prior to my patch by not exporting any events to atrace when perfetto tracing is enabled. Long term, we have to figure out how to prevent the duplicate events in our benchmarks. Bug: 1028882 Change-Id: If2595ad4d7f46c37a7bbc464d7fd71ad129d0923 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1939748 Auto-Submit: Eric Seckler <eseckler@chromium.org> Reviewed-by:Stephen Nusko <nuskos@chromium.org> Commit-Queue: Eric Seckler <eseckler@chromium.org> Cr-Commit-Position: refs/heads/master@{#719590}
Showing
Please register or sign in to comment