commit | f527d2ad94e4c7f319b981705989610c5c4d428e | [log] [tgz] |
---|---|---|
author | Ehsan Chiniforooshan <chiniforooshan@chromium.org> | Fri Dec 14 20:40:45 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 14 20:40:45 2018 |
tree | d98baf52f1a385e3860489989fe533c5b41473b3 | |
parent | 54a631f03d888aadfd1a5d3af371f4748412a99f [diff] |
Tracing: send stop tracing to late agents To make the status of tracing agents and the tracing coordinator consistent, we make the tracing coordinator ALWAYS send the last start/stop tracing signal to agents when they register. This way, agents can make sure their tracing status is the same as the coordinator status. If an agent registers after StopAndFlush is received by the coordinator and the coordinator has already gathered trace data from all agents with that label, we send a no-op recorder to the agent and discard its data (we just want to let it know tracing is stopped). If the coordinator is still gathering data, then an actual recorder is sent and the agents data is collected. Bug: 911839 Change-Id: If43ae0490fd5286b62a6ae2a9b235dea16275ff4 Reviewed-on: https://chromium-review.googlesource.com/c/1372719 Commit-Queue: Ehsan Chiniforooshan <chiniforooshan@chromium.org> Reviewed-by: oysteine <oysteine@chromium.org> Cr-Commit-Position: refs/heads/master@{#616811}
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 .