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

Issue 2891973003: tracing: the agent registry 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 agent registry implementation The agent registry keeps track of all tracing agents. The coordinator communicates to the agents through the agent registry. 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/2891973003 Cr-Commit-Position: refs/heads/master@{#475138} Committed: https://chromium.googlesource.com/chromium/src/+/536bfe1a8b9e601815f090e138e02de817a99df5

Patch Set 1 #

Patch Set 2 : rebase #

Patch Set 3 : use thread checker macros #

Total comments: 32

Patch Set 4 : review + rebase #

Patch Set 5 : one more DCHECK #

Patch Set 6 : review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+376 lines, -0 lines) Patch
M services/resource_coordinator/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/resource_coordinator/tracing/BUILD.gn View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/agent_registry.h View 1 2 3 1 chunk +109 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/agent_registry.cc View 1 2 3 4 5 1 chunk +116 lines, -0 lines 0 comments Download
A services/resource_coordinator/tracing/agent_registry_unittest.cc View 1 2 3 1 chunk +148 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (11 generated)
chiniforooshan
ptal
3 years, 7 months ago (2017-05-19 03:00:47 UTC) #2
chiniforooshan
On 2017/05/19 03:00:47, chiniforooshan wrote: > ptal pinging Oystein :)
3 years, 7 months ago (2017-05-25 01:26:06 UTC) #7
Primiano Tucci (use gerrit)
Glad to see this coming along https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc File services/resource_coordinator/tracing/agent_registry.cc (right): https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc#newcode29 services/resource_coordinator/tracing/agent_registry.cc:29: DCHECK(label.size()); !label.empty() might ...
3 years, 7 months ago (2017-05-25 13:24:29 UTC) #9
oystein (OOO til 10th of July)
lgtm and thanks! (and sorry for the delay again, sigh) https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc File services/resource_coordinator/tracing/agent_registry.cc (right): https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc#newcode34 ...
3 years, 7 months ago (2017-05-25 17:16:08 UTC) #10
chiniforooshan
https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc File services/resource_coordinator/tracing/agent_registry.cc (right): https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc#newcode29 services/resource_coordinator/tracing/agent_registry.cc:29: DCHECK(label.size()); On 2017/05/25 13:24:28, Primiano Tucci wrote: > !label.empty() ...
3 years, 7 months ago (2017-05-26 15:46:32 UTC) #11
Primiano Tucci (use gerrit)
lgtm
3 years, 7 months ago (2017-05-26 16:02:49 UTC) #12
oystein (OOO til 10th of July)
https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc File services/resource_coordinator/tracing/agent_registry.cc (right): https://codereview.chromium.org/2891973003/diff/40001/services/resource_coordinator/tracing/agent_registry.cc#newcode44 services/resource_coordinator/tracing/agent_registry.cc:44: return closure_was_set; On 2017/05/26 at 15:46:31, chiniforooshan wrote: > ...
3 years, 7 months ago (2017-05-26 17:07:43 UTC) #13
chiniforooshan
> > > This line confuses me :). Is this moving closure_ to a stack ...
3 years, 7 months ago (2017-05-26 18:28:17 UTC) #14
kenrb
mojo lgtm, and sorry for taking so long to get to this.
3 years, 7 months ago (2017-05-26 19:51:47 UTC) #15
chiniforooshan
On 2017/05/26 19:51:47, kenrb wrote: > mojo lgtm, and sorry for taking so long to ...
3 years, 7 months ago (2017-05-26 19:52:27 UTC) #16
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/2891973003/100001
3 years, 7 months ago (2017-05-26 19:53:12 UTC) #19
commit-bot: I haz the power
3 years, 7 months ago (2017-05-26 21:31:03 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/536bfe1a8b9e601815f090e138e0...

Powered by Google App Engine
This is Rietveld 408576698