|
Add support for TraceEvent before the native library is loaded.
Currently trace events that occur before the native library is initialized are
ignored.
This CL fixes that by buffering the events that occur before the initialization
of the native library on the Java side. Those events then get sent to the
native TraceLog before the trace file gets written to disk.
NOTE: this is only reviving pliard@'s CL (issue 230603003).
BUG= 317481
Total comments: 16
Total comments: 17
Total comments: 9
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+709 lines, -11 lines) |
Patch |
 |
M |
base/android/base_jni_registrar.cc
|
View
|
1
2
3
4
5
6
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/android/early_trace_event.h
|
View
|
1
2
3
4
5
|
1 chunk |
+38 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/android/early_trace_event.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+123 lines, -0 lines |
0 comments
|
Download
|
 |
A |
base/android/java/src/org/chromium/base/EarlyTraceEvent.java
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+210 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/android/java/src/org/chromium/base/TraceEvent.java
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+29 lines, -7 lines |
0 comments
|
Download
|
 |
A |
base/android/javatests/src/org/chromium/base/EarlyTraceEventTest.java
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+110 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/android/jni_array.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/android/jni_array.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+12 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/android/jni_array_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/base.gyp
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
base/base.gypi
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/trace_event_impl.h
|
View
|
1
2
3
4
5
6
|
2 chunks |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/trace_event_impl.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+45 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/android/shell/java/src/org/chromium/chrome/shell/ChromeShellActivity.java
|
View
|
1
2
3
4
5
6
7
|
3 chunks |
+10 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/android/tracing_controller_android.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/android/tracing_controller_android.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/browser_main_loop.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+5 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/tracing/tracing_controller_impl.h
|
View
|
1
2
3
4
5
6
|
4 chunks |
+9 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/tracing/tracing_controller_impl.cc
|
View
|
1
2
3
4
5
6
7
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
Total messages: 20 (4 generated)
|