commit | 52a1d009a0a935bed3bbdaa83741e1eee083de32 | [log] [tgz] |
---|---|---|
author | Eric Seckler <eseckler@chromium.org> | Thu Jun 20 10:57:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jun 20 10:57:56 2019 |
tree | f4782d63d5c96b9597b99351654d6f69c0769e43 | |
parent | 129d63efe57dc1128c868ab8046fe4ac7499f6fa [diff] |
devtools/tracing: Notify client about data loss during tracing Telemetry would like to know if the trace is incomplete, e.g. due to the trace ring buffer wrapping around, since this can result in incorrect metrics computation. This patch adds a param to the Tracing.tracingComplete devtools event, which we set based off the buffer stats reported by perfetto. For that purpose, we also plumb a corresponding boolean through the TracingSession consumer mojo interface. Bug: 948412 Change-Id: I327e117229893232170111659ed84f7e67debdf9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1666633 Commit-Queue: Eric Seckler <eseckler@chromium.org> Reviewed-by: Sami Kyöstilä <skyostil@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Andrey Kosyakov <caseq@chromium.org> Cr-Commit-Position: refs/heads/master@{#670848}
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 .