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

Issue 2977513002: [Fuchsia] Routes timeline events to Fuchsia's tracing app (Closed)

Created:
3 years, 5 months ago by zra
Modified:
3 years, 5 months ago
Reviewers:
rmacnak
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Target Ref:
refs/heads/master
Visibility:
Public.

Description

[Fuchsia] Routes timeline events to Fuchsia's tracing app This CL routes timeline events to Fuchsia's tracing app when the following arguments are passed to the VM: --systrace_timeline --timeline_recorder=systrace --timeline_streams=[some streams here] I'll add these arguments to the Flutter engine for Fuchsia after this CL lands. TO-367 R=rmacnak@google.com Committed: https://github.com/dart-lang/sdk/commit/b3200f4664b0d6da726f4544a591213997869cf7

Patch Set 1 #

Patch Set 2 : Cleanup #

Total comments: 4

Patch Set 3 : Address comments #

Total comments: 2

Patch Set 4 : Address comments #

Patch Set 5 : Format #

Unified diffs Side-by-side diffs Delta from patch set Stats (+201 lines, -2 lines) Patch
M runtime/BUILD.gn View 1 1 chunk +4 lines, -1 line 0 comments Download
M runtime/bin/BUILD.gn View 2 chunks +8 lines, -0 lines 0 comments Download
M runtime/vm/BUILD.gn View 1 2 3 4 6 chunks +18 lines, -0 lines 0 comments Download
M runtime/vm/timeline.h View 1 2 3 5 chunks +29 lines, -0 lines 0 comments Download
M runtime/vm/timeline.cc View 1 2 3 4 9 chunks +142 lines, -1 line 0 comments Download

Messages

Total messages: 12 (4 generated)
zra
3 years, 5 months ago (2017-07-10 20:23:56 UTC) #4
konkers
Systrace is Android specific term. Perhaps it would be better to decouple the two and ...
3 years, 5 months ago (2017-07-10 20:42:08 UTC) #5
rmacnak
On 2017/07/10 20:42:08, konkers wrote: > Systrace is Android specific term. Perhaps it would be ...
3 years, 5 months ago (2017-07-10 23:38:48 UTC) #6
rmacnak
https://codereview.chromium.org/2977513002/diff/20001/runtime/vm/timeline.cc File runtime/vm/timeline.cc (right): https://codereview.chromium.org/2977513002/diff/20001/runtime/vm/timeline.cc#newcode422 runtime/vm/timeline.cc:422: Init(kDuration, label); Maybe emit a Fuchsia tracing duration start ...
3 years, 5 months ago (2017-07-10 23:39:02 UTC) #7
zra
I've split the Fuchsia specific stuff into TimelineEventFuchsiaRecorder. Arguably, Linux and Android should be disentangled ...
3 years, 5 months ago (2017-07-11 17:38:04 UTC) #8
rmacnak
LGTM The current systrace flag is only used manually, so feel free to rename it. ...
3 years, 5 months ago (2017-07-11 20:04:47 UTC) #9
zra
I've left the flag named --systrace_timeline but updated the help text to be more generic. ...
3 years, 5 months ago (2017-07-11 20:39:59 UTC) #10
zra
3 years, 5 months ago (2017-07-11 21:12:34 UTC) #12
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
b3200f4664b0d6da726f4544a591213997869cf7 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698