New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 599932 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Aug 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug

Blocking:
issue 605089



Sign in to add a comment

Devtool tracing doesn't send all tracing data to client in streaming mode

Project Member Reported by nedngu...@google.com, Apr 1 2016

Issue description

Tracing data produced by chrome looks s.t like:
{
  "traceEvents": [...],
  "displayTimeUnit": "ns",
  "systemTraceEvents": "SystemTraceData",
  "otherData": {
    "version": "My Application v1.0"
  },
  "stackFrames": {...}
  "samples": [...],
  "metadata": {...}
}

It looks like devtool only sends data in the "traceEvents" field to client (https://code.google.com/p/chromium/codesearch#chromium/src/content/browser/devtools/protocol/tracing_handler.cc&q=tracing_handler&l=107) in streaming mode.

This is problematic for telemetry & trace-viewer because in order for clock syncing to work, the receiver sites need to know the clock domain of chrome, which is recorder in 'metadata' field.
 
Components: Platform>DevTools>Performance>Tracing
Status: Assigned (was: Untriaged)
The new spec for traces container format is in:
https://docs.google.com/document/d/1a8c0tQGlwQapTruWoJTQz8n3kjwIcPnx4mnCBvi_guI/edit?pref=2&pli=1

Please let us know if you have any further question.
Blocking: 605089
Labels: -Pri-2 Pri-1
This is becoming more urgent because it's causing benchmark failure flakily ( issue 605089 ).
Cc: zh...@chromium.org
Project Member

Comment 7 by sheriffbot@chromium.org, Jun 3 2016

Labels: Hotlist-Google
Andrey: any activity on this bug? It's biting us again because we need to surface some extra information in the trace metadata to telemetry's metrics results.

Comment 9 by caseq@chromium.org, Jul 19 2016

Status: Started (was: Assigned)
Project Member

Comment 10 by bugdroid1@chromium.org, Jul 30 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/8e573d8a81a95fd3b98faf9f7bb45cb7683d86f4

commit 8e573d8a81a95fd3b98faf9f7bb45cb7683d86f4
Author: catapult-deps-roller <catapult-deps-roller@chromium.org>
Date: Sat Jul 30 00:08:07 2016

Roll src/third_party/catapult/ 395e5365f..a6464cb62 (2 commits).

https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/395e5365f02a..a6464cb626ec

$ git log 395e5365f..a6464cb62 --date=short --no-merges --format='%ad %ae %s'

BUG= 599932 

TBR=catapult-sheriff@chromium.org

Review-Url: https://codereview.chromium.org/2195913002
Cr-Commit-Position: refs/heads/master@{#408814}

[modify] https://crrev.com/8e573d8a81a95fd3b98faf9f7bb45cb7683d86f4/DEPS

Project Member

Comment 11 by bugdroid1@chromium.org, Aug 1 2016

Status: Fixed (was: Started)

Sign in to add a comment