Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Issue 2886203002: tracing: the recorder implementation (Closed)

Created:
3 years, 7 months ago by chiniforooshan
Modified:
3 years, 7 months ago
CC:
Aaron Boodman, abarth-chromium, chrome-grc-reviews_chromium.org, chromium-reviews, darin (slow to review), Primiano Tucci (use gerrit), qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

tracing: the recorder implementation Recorders are created by the tracing::Coordinator and sent to the agents at StartTracing. Agents should flush their trace events to the recorder when then receive the StopTracing message. A prototype of the final product (a little bit stale and incomplete): https://codereview.chromium.org/2833873003/ Design doc (use @chromium.org account): https://docs.google.com/document/d/1osLqctK_rTiioKFOG9wDLkrCQ9DLJZmm4j-S335u-vM BUG=640235 Review-Url: https://codereview.chromium.org/2886203002 Cr-Commit-Position: refs/heads/master@{#474886} Committed: https://chromium.googlesource.com/chromium/src/+/2e2b178d99399c687bc60adea7e6b2460c9cfca6

Patch Set 1 #

Patch Set 2 : rebase #

Total comments: 14

Patch Set 3 : review #

Total comments: 13

Patch Set 4 : review #

Patch Set 5 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+276 lines, -0 lines) Patch
M services/resource_coordinator/BUILD.gn View 1 2 3 4 2 chunks +2 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/BUILD.gn View 1 chunk +16 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/OWNER View 1 chunk +1 line, -0 lines 0 comments Download
A services/resource_coordinator/tracing/recorder.h View 1 2 3 1 chunk +85 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/recorder.cc View 1 2 3 1 chunk +55 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/recorder_unittest.cc View 1 chunk +117 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (15 generated)
chiniforooshan
ptal
3 years, 7 months ago (2017-05-17 16:31:19 UTC) #2
chiniforooshan
Rebased after https://codereview.chromium.org/2878533003. Also, +Ken as discussed in https://codereview.chromium.org/2723773002.
3 years, 7 months ago (2017-05-19 02:57:43 UTC) #6
chiniforooshan
On 2017/05/19 02:57:43, chiniforooshan wrote: > Rebased after https://codereview.chromium.org/2878533003. > > Also, +Ken as discussed ...
3 years, 7 months ago (2017-05-25 01:25:45 UTC) #9
Primiano Tucci (use gerrit)
minor comments. looks good overall with minor comments but let's wait for oysteine to check ...
3 years, 7 months ago (2017-05-25 13:15:02 UTC) #11
chiniforooshan
https://codereview.chromium.org/2886203002/diff/20001/services/resource_coordinator/tracing/recorder.cc File services/resource_coordinator/tracing/recorder.cc (right): https://codereview.chromium.org/2886203002/diff/20001/services/resource_coordinator/tracing/recorder.cc#newcode25 services/resource_coordinator/tracing/recorder.cc:25: &Recorder::OnConnectionError, base::Unretained(this))); On 2017/05/25 13:15:01, Primiano Tucci wrote: > ...
3 years, 7 months ago (2017-05-25 15:34:29 UTC) #12
oystein (OOO til 10th of July)
Eep, sorry for the delay. lgtm w/ comments https://codereview.chromium.org/2886203002/diff/40001/services/resource_coordinator/tracing/recorder.cc File services/resource_coordinator/tracing/recorder.cc (right): https://codereview.chromium.org/2886203002/diff/40001/services/resource_coordinator/tracing/recorder.cc#newcode29 services/resource_coordinator/tracing/recorder.cc:29: Recorder::~Recorder() ...
3 years, 7 months ago (2017-05-25 16:55:27 UTC) #13
Primiano Tucci (use gerrit)
LGMT % remaining oystein comments
3 years, 7 months ago (2017-05-25 17:26:09 UTC) #14
chiniforooshan
Ken, could you please take a look? This implements one of the interfaces defined in ...
3 years, 7 months ago (2017-05-25 19:45:33 UTC) #15
oystein (OOO til 10th of July)
https://codereview.chromium.org/2886203002/diff/40001/services/resource_coordinator/tracing/recorder.h File services/resource_coordinator/tracing/recorder.h (right): https://codereview.chromium.org/2886203002/diff/40001/services/resource_coordinator/tracing/recorder.h#newcode38 services/resource_coordinator/tracing/recorder.h:38: Recorder( On 2017/05/25 at 19:45:32, chiniforooshan wrote: > On ...
3 years, 7 months ago (2017-05-25 20:01:24 UTC) #16
chiniforooshan
rockot@, do you know what the class name convention is, if there is any :), ...
3 years, 7 months ago (2017-05-25 20:23:39 UTC) #18
chromium-reviews
I see no problem with Recorder. One of the main motivations for establishing the convention ...
3 years, 7 months ago (2017-05-25 20:24:57 UTC) #19
kenrb
mojom lgtm
3 years, 7 months ago (2017-05-25 21:17:01 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2886203002/60001
3 years, 7 months ago (2017-05-25 21:21:31 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/447946) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 7 months ago (2017-05-25 21:24:57 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2886203002/80001
3 years, 7 months ago (2017-05-25 22:02:35 UTC) #28
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 02:43:19 UTC) #31
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/2e2b178d99399c687bc60adea7e6...

Powered by Google App Engine
This is Rietveld 408576698