|
De-client tracing.TraceController interface
The tracing service logically provides one service, TraceCoordinator, which can
start and stop tracing sessions. It also can connect to any number of
TraceControllers each of which can supply tracing information on demand.
Whenever an app connects to the tracing service, the tracing service attempts to
connect to that app's TraceController interface. If the app provides this
interface then tracing data will be requested whenever tracing starts. If the
app doesn't, then the pipe just closes. Thus apps that want to be traced can do
so by creating however many connections to the tracing service they want and
registering a TraceController implementation on each outgoing connection.
The shell connects in a similar fashion by connecting to the tracing service and
providing a TraceController implementation. The code looks a bit different since
the shell is special.
BUG= 451319
R=viettrungluu@chromium.org
Committed: https://chromium.googlesource.com/external/mojo/+/47225cba1cfeb74f6b3f6ff245c5f791a6581a7e
Total comments: 1
Total comments: 5
Total comments: 3
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+210 lines, -105 lines) |
Patch |
 |
M |
mojo/common/BUILD.gn
|
View
|
1
2
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
mojo/common/trace_controller_impl.h
|
View
|
1
2
3
|
1 chunk |
+37 lines, -0 lines |
1 comment
|
Download
|
 |
A |
mojo/common/trace_controller_impl.cc
|
View
|
1
2
3
|
1 chunk |
+49 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mojo/common/tracing_impl.h
|
View
|
1
2
3
|
1 chunk |
+11 lines, -26 lines |
0 comments
|
Download
|
 |
M |
mojo/common/tracing_impl.cc
|
View
|
1
2
|
1 chunk |
+8 lines, -39 lines |
1 comment
|
Download
|
 |
M |
mojo/public/cpp/application/lib/service_registry.cc
|
View
|
1
2
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/fake_surfaces/fake_surfaces_service_application.h
|
View
|
1
2
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/fake_surfaces/fake_surfaces_service_application.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
services/native_viewport/main.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/surfaces/surfaces_service_application.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/surfaces/surfaces_service_application.cc
|
View
|
|
2 chunks |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
services/tracing/main.cc
|
View
|
1
2
|
4 chunks |
+51 lines, -21 lines |
0 comments
|
Download
|
 |
M |
services/tracing/tracing.mojom
|
View
|
1
2
|
1 chunk |
+2 lines, -5 lines |
0 comments
|
Download
|
 |
M |
services/view_manager/view_manager_app.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
services/view_manager/view_manager_app.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
services/window_manager/BUILD.gn
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
services/window_manager/main.cc
|
View
|
1
2
|
3 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
shell/context.cc
|
View
|
1
2
|
3 chunks |
+24 lines, -4 lines |
1 comment
|
Download
|
 |
M |
sky/tools/debugger/trace_collector.cc
|
View
|
1
2
3
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
sky/viewer/viewer.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
Total messages: 14 (4 generated)
|