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

Issue 1275693002: Change PostTask to use Flow v2. (Closed)

Created:
5 years, 4 months ago by yuhaoz
Modified:
5 years, 4 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Change PostTask in base::debug::TaskAnnotator::RunTask() and base::debug::TaskAnnotator::DidQueueTask() to use Flow v2. BUG=https://github.com/catapult-project/catapult/issues/1079 Committed: https://crrev.com/bbe9cfdf0feedae4392ccbc16f2784ab527bd466 Cr-Commit-Position: refs/heads/master@{#342403}

Patch Set 1 #

Patch Set 2 : Name tweak. #

Total comments: 5

Patch Set 3 : Use queue_function as the slice name. #

Total comments: 1

Patch Set 4 : Remove braces. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -7 lines) Patch
M base/debug/task_annotator.cc View 1 2 3 2 chunks +9 lines, -7 lines 0 comments Download

Messages

Total messages: 32 (7 generated)
yuhaoz
Change PostTask to use Flow v2.
5 years, 4 months ago (2015-08-05 19:15:13 UTC) #2
dsinclair
https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc File base/debug/task_annotator.cc (right): https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc#newcode23 base/debug/task_annotator.cc:23: TRACE_EVENT_WITH_FLOW0("toplevel", The category should still be TRACE_DISABLED_BY_DEFAULT("toplevel.flow") https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc#newcode24 base/debug/task_annotator.cc:24: ...
5 years, 4 months ago (2015-08-05 19:38:04 UTC) #3
beaudoin
LGTM given Dan's comments.
5 years, 4 months ago (2015-08-05 20:54:31 UTC) #4
yuhaoz
https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc File base/debug/task_annotator.cc (right): https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc#newcode24 base/debug/task_annotator.cc:24: "QueueTask", On 2015/08/05 at 19:38:04, dsinclair wrote: > Why ...
5 years, 4 months ago (2015-08-05 21:22:07 UTC) #5
yuhaoz
On 2015/08/05 at 21:22:07, yuhaoz wrote: > https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc > File base/debug/task_annotator.cc (right): > > https://codereview.chromium.org/1275693002/diff/20001/base/debug/task_annotator.cc#newcode24 ...
5 years, 4 months ago (2015-08-05 21:25:22 UTC) #6
dsinclair
On 2015/08/05 21:25:22, yuhaoz wrote: > On 2015/08/05 at 21:22:07, yuhaoz wrote: > > > ...
5 years, 4 months ago (2015-08-05 23:50:20 UTC) #7
yuhaoz
PTAL. Now use |queue_function| as the slice name.
5 years, 4 months ago (2015-08-06 00:03:36 UTC) #8
dsinclair
https://codereview.chromium.org/1275693002/diff/40001/base/debug/task_annotator.cc File base/debug/task_annotator.cc (right): https://codereview.chromium.org/1275693002/diff/40001/base/debug/task_annotator.cc#newcode36 base/debug/task_annotator.cc:36: { This doesn't need braces around it.
5 years, 4 months ago (2015-08-06 15:07:21 UTC) #9
yuhaoz
PTAL.
5 years, 4 months ago (2015-08-06 21:59:05 UTC) #10
dsinclair
lgtm. Can you please add the BUG= for this work?
5 years, 4 months ago (2015-08-07 14:02:17 UTC) #11
yuhaoz
On 2015/08/07 at 14:02:17, dsinclair wrote: > lgtm. Can you please add the BUG= for ...
5 years, 4 months ago (2015-08-07 14:59:46 UTC) #12
dsinclair
On 2015/08/07 14:59:46, yuhaoz wrote: > On 2015/08/07 at 14:02:17, dsinclair wrote: > > lgtm. ...
5 years, 4 months ago (2015-08-07 15:02:34 UTC) #13
yuhaoz
On 2015/08/07 at 15:02:34, dsinclair wrote: > I believe you had a bug for the ...
5 years, 4 months ago (2015-08-07 15:06:25 UTC) #14
dsinclair
On 2015/08/07 15:06:25, yuhaoz wrote: > On 2015/08/07 at 15:02:34, dsinclair wrote: > > I ...
5 years, 4 months ago (2015-08-07 15:09:58 UTC) #15
yuhaoz
Changing PostTask to use Flow V2. Of critical importance to correctly trace event relationship and ...
5 years, 4 months ago (2015-08-07 16:26:19 UTC) #17
Lei Zhang
On 2015/08/07 16:26:19, yuhaoz wrote: > Changing PostTask to use Flow V2. Of critical importance ...
5 years, 4 months ago (2015-08-07 17:20:57 UTC) #18
dsinclair
On 2015/08/07 17:20:57, Lei Zhang wrote: > On 2015/08/07 16:26:19, yuhaoz wrote: > > Changing ...
5 years, 4 months ago (2015-08-07 17:23:07 UTC) #19
Lei Zhang
On 2015/08/07 17:23:07, dsinclair wrote: > On 2015/08/07 17:20:57, Lei Zhang wrote: > > On ...
5 years, 4 months ago (2015-08-07 17:30:07 UTC) #20
yuhaoz
On 2015/08/07 at 17:30:07, thestig wrote: > > > yuhaoz: It looks like you added ...
5 years, 4 months ago (2015-08-07 17:34:59 UTC) #22
Lei Zhang
lgtm
5 years, 4 months ago (2015-08-07 17:42:00 UTC) #23
Lei Zhang
Oh, in the commit message, by "PostTask", do you really mean base::debug::TaskAnnotator::RunTask() and base::debug::TaskAnnotator::DidQueueTask()?
5 years, 4 months ago (2015-08-07 17:43:18 UTC) #26
yuhaoz
On 2015/08/07 at 17:43:18, thestig wrote: > Oh, in the commit message, by "PostTask", do ...
5 years, 4 months ago (2015-08-07 17:43:51 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1275693002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1275693002/60001
5 years, 4 months ago (2015-08-07 17:46:06 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 4 months ago (2015-08-07 19:15:50 UTC) #31
commit-bot: I haz the power
5 years, 4 months ago (2015-08-07 19:16:34 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/bbe9cfdf0feedae4392ccbc16f2784ab527bd466
Cr-Commit-Position: refs/heads/master@{#342403}

Powered by Google App Engine
This is Rietveld 408576698