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

Issue 1334213002: Support for tracing app initialization. (Closed)

Created:
5 years, 3 months ago by etiennej
Modified:
5 years, 3 months ago
Reviewers:
qsr
CC:
mojo-reviews_chromium.org, gregsimon, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), ben+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Support for tracing app initialization. When compiled in DEBUG mode, or when the "TracingImpl:start" argument is passed to TracingImpl, collect traces for at least one second. If the tracing service connects before the time is up, keep the traces; otherwise, flush and discard them. Fixes #354 R=qsr@chromium.org, qsr Committed: https://chromium.googlesource.com/external/mojo/+/8b4e8fe6341de3ee437f0f153466af16e87fbf2c

Patch Set 1 #

Patch Set 2 : Comment for the "DelayedStop" indirection #

Patch Set 3 : #

Patch Set 4 : Change BindingSet to Binding #

Total comments: 4

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -31 lines) Patch
M examples/trace_me/trace_me_app.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M mojo/common/trace_provider_impl.h View 1 2 3 4 5 2 chunks +14 lines, -11 lines 0 comments Download
M mojo/common/trace_provider_impl.cc View 1 2 3 4 5 6 3 chunks +46 lines, -6 lines 0 comments Download
M mojo/common/tracing_impl.h View 1 2 3 4 5 6 2 chunks +3 lines, -0 lines 0 comments Download
M mojo/common/tracing_impl.cc View 1 2 3 4 5 6 1 chunk +11 lines, -6 lines 0 comments Download
M shell/context.cc View 1 chunk +1 line, -0 lines 0 comments Download
M shell/tracer.h View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M shell/tracer.cc View 1 2 3 4 2 chunks +3 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (1 generated)
etiennej
5 years, 3 months ago (2015-09-11 11:57:34 UTC) #1
etiennej
Per offline discussion, I changed BindingSet to Binding.
5 years, 3 months ago (2015-09-11 14:18:44 UTC) #2
qsr
https://codereview.chromium.org/1334213002/diff/60001/mojo/common/BUILD.gn File mojo/common/BUILD.gn (right): https://codereview.chromium.org/1334213002/diff/60001/mojo/common/BUILD.gn#newcode69 mojo/common/BUILD.gn:69: ":common", I think you might not need this anymore, ...
5 years, 3 months ago (2015-09-11 14:44:05 UTC) #3
etiennej
https://codereview.chromium.org/1334213002/diff/60001/mojo/common/BUILD.gn File mojo/common/BUILD.gn (right): https://codereview.chromium.org/1334213002/diff/60001/mojo/common/BUILD.gn#newcode69 mojo/common/BUILD.gn:69: ":common", On 2015/09/11 14:44:04, qsr wrote: > I think ...
5 years, 3 months ago (2015-09-11 15:07:32 UTC) #4
etiennej
Per offline discussion, simplified the stop dance with weak pointers.
5 years, 3 months ago (2015-09-11 15:12:10 UTC) #5
qsr
https://codereview.chromium.org/1334213002/diff/80001/mojo/common/tracing_impl.cc File mojo/common/tracing_impl.cc (right): https://codereview.chromium.org/1334213002/diff/80001/mojo/common/tracing_impl.cc#newcode10 mojo/common/tracing_impl.cc:10: #include "base/trace_event/trace_event.h" Most of those includes seem not useful. ...
5 years, 3 months ago (2015-09-11 15:12:21 UTC) #6
etiennej
https://codereview.chromium.org/1334213002/diff/80001/mojo/common/tracing_impl.cc File mojo/common/tracing_impl.cc (right): https://codereview.chromium.org/1334213002/diff/80001/mojo/common/tracing_impl.cc#newcode10 mojo/common/tracing_impl.cc:10: #include "base/trace_event/trace_event.h" On 2015/09/11 15:12:20, qsr wrote: > Most ...
5 years, 3 months ago (2015-09-11 15:16:45 UTC) #8
qsr
lgtm
5 years, 3 months ago (2015-09-11 15:19:47 UTC) #9
etiennej
5 years, 3 months ago (2015-09-11 15:21:16 UTC) #10
Message was sent while issue was closed.
Committed patchset #7 (id:130001) manually as
8b4e8fe6341de3ee437f0f153466af16e87fbf2c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698