Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3269)

Issue 251300043: Support new flow API in the importer. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
8 years, 9 months ago by yuhaoz
Modified:
8 years, 8 months ago
CC:
tracing-review_chromium.org
Base URL:
git@github.com:google/trace-viewer.git@master
Visibility:
Public.

Description

Support new flow event API in the importer. The Chrome side CL is tracked at: https://codereview.chromium.org/1239593002 The design doc is at: https://docs.google.com/document/d/1La_0PPfsTqHJihazYhff96thhjPtvq1KjAUOJu0dvEg/edit?pli=1# BUG=#1079 Migrated to catapult and landed. https://codereview.chromium.org/1276223005

Patch Set 1 #

Total comments: 4

Patch Set 2 : Create flow between producer and consumer. #

Total comments: 4

Patch Set 3 : Add support for multiple consumers. Add some unittests. #

Total comments: 22

Patch Set 4 : Support flow steps, and refactor the code a bit. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -51 lines) Patch
M tracing/tracing/extras/importer/trace_event_importer.html View 1 2 3 10 chunks +168 lines, -46 lines 2 comments Download
M tracing/tracing/extras/importer/trace_event_importer_test.html View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
M tracing/tracing/model/slice.html View 1 2 3 2 chunks +4 lines, -1 line 0 comments Download
M tracing/tracing/model/slice_group.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M tracing/tracing/model/thread_slice.html View 1 2 3 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 33
yuhaoz
8 years, 9 months ago (2015-07-18 06:25:35 UTC) #1
dsinclair
I think for the examples, the last step in each one needs a flow direction ...
8 years, 9 months ago (2015-07-20 18:36:00 UTC) #2
yuhaoz
On 2015/07/20 18:36:00, dsinclair wrote: > I think for the examples, the last step in ...
8 years, 9 months ago (2015-07-20 18:38:42 UTC) #3
dsinclair
On 2015/07/20 18:38:42, yuhaoz wrote: > On 2015/07/20 18:36:00, dsinclair wrote: > > I think ...
8 years, 9 months ago (2015-07-20 18:40:11 UTC) #4
yuhaoz
On 2015/07/20 18:40:11, dsinclair wrote: > On 2015/07/20 18:38:42, yuhaoz wrote: > > On 2015/07/20 ...
8 years, 9 months ago (2015-07-20 19:13:11 UTC) #5
dsinclair
On 2015/07/20 19:13:11, yuhaoz wrote: > On 2015/07/20 18:40:11, dsinclair wrote: > > On 2015/07/20 ...
8 years, 9 months ago (2015-07-20 19:15:18 UTC) #6
yuhaoz
> > Can you give an example trace explaining the trace format you have in ...
8 years, 9 months ago (2015-07-20 22:04:39 UTC) #7
nduca(google)
Dumb question and maybe you've already done this, but how about before we review the ...
8 years, 9 months ago (2015-07-20 23:28:30 UTC) #8
dsinclair
On 2015/07/20 22:04:39, yuhaoz wrote: > > > Can you give an example trace explaining ...
8 years, 9 months ago (2015-07-21 14:24:24 UTC) #9
yuhaoz
On 2015/07/21 14:24:24, dsinclair wrote: > As we discussed in chat, the category and name ...
8 years, 9 months ago (2015-07-21 17:14:16 UTC) #10
yuhaoz
On 2015/07/21 17:14:16, yuhaoz wrote: > > So just to be 100% clear, in the ...
8 years, 9 months ago (2015-07-21 17:28:18 UTC) #11
yuhaoz
On 2015/07/20 23:28:30, nduca(google) wrote: > Dumb question and maybe you've already done this, but ...
8 years, 9 months ago (2015-07-21 17:31:06 UTC) #12
dsinclair
On 2015/07/21 17:28:18, yuhaoz wrote: > On 2015/07/21 17:14:16, yuhaoz wrote: > > > > ...
8 years, 9 months ago (2015-07-21 18:40:08 UTC) #13
yuhaoz
On 2015/07/21 18:40:08, dsinclair wrote: > On 2015/07/21 17:28:18, yuhaoz wrote: > > On 2015/07/21 ...
8 years, 9 months ago (2015-07-21 18:45:22 UTC) #14
beaudoin
https://codereview.appspot.com/251300043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/1/tracing/tracing/extras/importer/trace_event_importer.html#newcode365 tracing/tracing/extras/importer/trace_event_importer.html:365: flow_dir = 'inout'; See discussion on hangout: we should ...
8 years, 9 months ago (2015-07-27 20:01:00 UTC) #15
yuhaoz
Create flows between flow producer and flow consumers. The new API makes the importer implementation ...
8 years, 9 months ago (2015-07-31 01:56:12 UTC) #16
nduca(google)
can you get vmpstr to pre-review this?
8 years, 9 months ago (2015-07-31 02:28:53 UTC) #17
vmpstr
(sorry if this was answered already) https://codereview.appspot.com/251300043/diff/20001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/20001/tracing/tracing/extras/importer/trace_event_importer.html#newcode404 tracing/tracing/extras/importer/trace_event_importer.html:404: this.FlowProducerToSliceMap_[event.bind_id] = slice; ...
8 years, 9 months ago (2015-07-31 17:33:37 UTC) #18
yuhaoz
On 2015/07/31 17:33:37, vmpstr wrote: > (sorry if this was answered already) > > https://codereview.appspot.com/251300043/diff/20001/tracing/tracing/extras/importer/trace_event_importer.html ...
8 years, 9 months ago (2015-08-01 18:57:55 UTC) #19
yuhaoz
PTAL. Add support for multiple flow consumers, and add some unittess for it.
8 years, 9 months ago (2015-08-01 18:58:18 UTC) #20
dsinclair
https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html#newcode381 tracing/tracing/extras/importer/trace_event_importer.html:381: if (event.flow_in === true) Shouldn't need === true here. ...
8 years, 8 months ago (2015-08-04 19:54:31 UTC) #21
yuhaoz
https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html#newcode1204 tracing/tracing/extras/importer/trace_event_importer.html:1204: if (event.ph === 'X') { On 2015/08/04 19:54:31, dsinclair ...
8 years, 8 months ago (2015-08-04 20:54:57 UTC) #22
dsinclair
https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html#newcode1204 tracing/tracing/extras/importer/trace_event_importer.html:1204: if (event.ph === 'X') { On 2015/08/04 20:54:57, yuhaoz ...
8 years, 8 months ago (2015-08-04 20:59:01 UTC) #23
yuhaoz
> On 2015/08/04 20:54:57, yuhaoz wrote: > > On 2015/08/04 19:54:31, dsinclair wrote: > > ...
8 years, 8 months ago (2015-08-04 21:25:33 UTC) #24
dsinclair
On 2015/08/04 21:25:33, yuhaoz wrote: > > On 2015/08/04 20:54:57, yuhaoz wrote: > > > ...
8 years, 8 months ago (2015-08-05 14:57:52 UTC) #25
yuhaoz
PTAL. Support flow steps since we decided to bring it back.
8 years, 8 months ago (2015-08-06 17:43:15 UTC) #26
yuhaoz
https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/40001/tracing/tracing/extras/importer/trace_event_importer.html#newcode381 tracing/tracing/extras/importer/trace_event_importer.html:381: if (event.flow_in === true) On 2015/08/04 19:54:31, dsinclair wrote: ...
8 years, 8 months ago (2015-08-06 17:55:36 UTC) #27
yuhaoz
On 2015/08/06 17:55:36, yuhaoz wrote: Just two screenshots showing the effects of flow steps and ...
8 years, 8 months ago (2015-08-06 22:09:42 UTC) #28
dsinclair
On 2015/08/06 22:09:42, yuhaoz wrote: > On 2015/08/06 17:55:36, yuhaoz wrote: > > Just two ...
8 years, 8 months ago (2015-08-07 14:03:48 UTC) #29
yuhaoz
On 2015/08/07 14:03:48, dsinclair wrote: > Those both look good to me, is there some ...
8 years, 8 months ago (2015-08-07 21:07:16 UTC) #30
dsinclair
On 2015/08/07 21:07:16, yuhaoz wrote: > On 2015/08/07 14:03:48, dsinclair wrote: > > Those both ...
8 years, 8 months ago (2015-08-08 12:22:41 UTC) #31
vmpstr
https://codereview.appspot.com/251300043/diff/60001/tracing/tracing/extras/importer/trace_event_importer.html File tracing/tracing/extras/importer/trace_event_importer.html (right): https://codereview.appspot.com/251300043/diff/60001/tracing/tracing/extras/importer/trace_event_importer.html#newcode386 tracing/tracing/extras/importer/trace_event_importer.html:386: event.flowPhase = 'consumer'; Are slices that don't have any ...
8 years, 8 months ago (2015-08-10 17:25:54 UTC) #32
yuhaoz
8 years, 8 months ago (2015-08-10 17:28:46 UTC) #33
https://codereview.appspot.com/251300043/diff/60001/tracing/tracing/extras/im...
File tracing/tracing/extras/importer/trace_event_importer.html (right):

https://codereview.appspot.com/251300043/diff/60001/tracing/tracing/extras/im...
tracing/tracing/extras/importer/trace_event_importer.html:386: event.flowPhase =
'consumer';
On 2015/08/10 17:25:54, vmpstr wrote:
> Are slices that don't have any flow considered consumers? Why?

Ah my bad ;( Should check flow_in.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b