|
|
tracing v2: introduce TraceBufferWriter
TraceBufferWriter is the key building block to write events into the
trace ring buffer. It acts as a glue layer between the protobuf classes
(ProtoZeroMessage) and the chunks of the trace ring buffer.
The expected design is 1 TraceBufferWriter per thread-local
TraceLog instance (% special cases where they don't have a thread
and use a shared locked instance).
BUG= 608719
TEST=TODO
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+862 lines, -23 lines) |
Patch |
 |
M |
components/components_tests.gyp
|
View
|
1
2
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
components/tracing.gyp
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/tracing/BUILD.gn
|
View
|
1
2
|
4 chunks |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/tracing/core/proto_utils.h
|
View
|
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/tracing/core/proto_zero_message.h
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
components/tracing/core/scattered_stream_writer.h
|
View
|
1
2
|
2 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/tracing/core/trace_buffer_writer.h
|
View
|
1
2
|
1 chunk |
+102 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/tracing/core/trace_buffer_writer.cc
|
View
|
1
2
|
1 chunk |
+216 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/tracing/core/trace_buffer_writer_unittest.cc
|
View
|
1
2
|
1 chunk |
+312 lines, -0 lines |
0 comments
|
Download
|
 |
M |
components/tracing/core/trace_ring_buffer.h
|
View
|
1
2
|
3 chunks |
+25 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/tracing/core/trace_ring_buffer.cc
|
View
|
1
2
|
4 chunks |
+18 lines, -7 lines |
0 comments
|
Download
|
 |
M |
components/tracing/core/trace_ring_buffer_unittest.cc
|
View
|
1
2
|
3 chunks |
+10 lines, -7 lines |
0 comments
|
Download
|
 |
A |
components/tracing/proto/event.proto
|
View
|
1
2
|
1 chunk |
+61 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/tracing/proto/event_args_for_testing.proto
|
View
|
1
|
1 chunk |
+19 lines, -0 lines |
0 comments
|
Download
|
 |
A |
components/tracing/proto/events_chunk.proto
|
View
|
1
2
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
Total messages: 9 (9 generated)
|