|
mandoline: Add automatic tracing at mojo call sites.
This modifies the mojo bindings generator to wrap all calls to
implementation of mojo interfaces in TRACE_EVENTs. It also makes various
mandoline pieces connect to mojo:tracing and names threads so the traces
are nicer.
With this patch, --trace-startup gives useful traces now. Further work
should be done to manually annotate callback methods with TRACE_EVENTS,
but traces now have useful data.
BUG= 534895
R=ben@chromium.org,yzshen@chromium.org
TBR=tsepez@chromium.org
Committed: https://crrev.com/1fecf1452526cf274927645acc06c8a6d10ee99b
Cr-Commit-Position: refs/heads/master@{#355901}
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+48 lines, -20 lines) |
Patch |
 |
M |
components/html_viewer/global_state.h
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/html_viewer/global_state.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/mus_app.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/mus/mus_app.cc
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
components/pdf_viewer/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/pdf_viewer/DEPS
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/pdf_viewer/pdf_viewer.cc
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/web_view/frame_connection.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/navigator_connect/service_port_service_impl.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/navigator_connect/service_port_service_impl.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/child/navigator_connect/service_port_provider.h
|
View
|
1
2
3
4
5
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/child/navigator_connect/service_port_provider.cc
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/common/service_port_service.mojom
|
View
|
1
2
3
4
5
|
1 chunk |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
mandoline/services/core_services/core_services_application_delegate.h
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
mandoline/services/core_services/core_services_application_delegate.cc
|
View
|
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/mojo/mojom_bindings_generator_explicit.gypi
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/mojo/src/mojo/public/interfaces/bindings/tests/sample_service.mojom
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/interface_definition.tmpl
|
View
|
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/mojo/src/mojo/public/tools/bindings/generators/cpp_templates/module.cc.tmpl
|
View
|
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/mojo/src/mojo/public/tools/bindings/mojom.gni
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 26 (11 generated)
|