commit | ce8b9f68112111dd9e16e1eab58525e4b36300b3 | [log] [tgz] |
---|---|---|
author | Siddhartha S <ssid@chromium.org> | Sat Apr 20 02:16:09 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Apr 20 02:16:09 2019 |
tree | dffab6a4cd22447ad27a06e333ec0f32dd1a3058 | |
parent | 7d94539fd7d36499f85c19771584589feaa65fa9 [diff] |
tracing: Consumer host will write / wait to write trace buffer in background Writing to consumer client data pipe in main thread can cause us to wait for the pipe to be ready on main thread. The main thread need to run other work like giving out SMBs to processes. It can also cause deadlock if the consumer client is also waiting for SMB. So, move the writer to background task runner. BUG=953837 Change-Id: I5cad2c45af8b4c7f0a69372e1c2633896c7e518e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1573162 Commit-Queue: ssid <ssid@chromium.org> Reviewed-by: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#652725}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .