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

Side by Side Diff: base/trace_event/common/proto/events_chunk.proto

Issue 1947373002: Tracing V2 prototype [NOT FOR REVIEW] Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WORKS Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « base/trace_event/common/proto/event_args_test.proto ('k') | base/trace_event/trace_log.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 syntax = "proto2";
2 option optimize_for = LITE_RUNTIME;
3
4 package tracing;
5
6 message EventsChunk {
7 // Chunks produced by the same trace writer have the same stream_id.
8 // This is to look up the next chunk for a given thread.
9 required uint32 stream_id = 1;
10
11 // A monotonic counter within stream_id. To order chunks within the stream.
12 required uint32 seq_id_in_stream = 2;
13
14 // Each event is a byte sequence that encapsulates the bytes for a single
15 // Event (see event.proto) or an incomplete portion of it.
16 // Why this isn't just a "repeated Events" field? An Event can spawn across
17 // several chunks. In this case the reader has to first glue the byte
18 // sequences together and then process the event.
19 repeated bytes events = 3;
20 optional bool first_event_continues_from_prev_chunk = 4;
21 optional bool last_event_continues_on_next_chunk = 5;
22
23 required uint32 num_events = 6; // TODO here for streaming: fixed?
24 }
OLDNEW
« no previous file with comments | « base/trace_event/common/proto/event_args_test.proto ('k') | base/trace_event/trace_log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698