Remove PacketSequenceState
Rename PacketSequenceState to PacketSequenceStateBuilder and hide it
in the ProtoTraceReader. Only this class should use it.
Make it more clear what state is keep around and what state is reset
for the various sequence events (packet loss, incremental state
cleared, etc).
This also gives us tow different API surfaces one for ProtoTraceReader
instances to update the incremental state as packets are porcessed in
sequence order: PacketSeqeunceStateBuilder, and another "read only" API
to be used by tokenizers and parsers of concrete trace packets.
Change-Id: I64981bddd2058e48b6e4d9bd3095a4c0bb41063e
diff --git a/Android.bp b/Android.bp
index ae8225d..4196a57 100644
--- a/Android.bp
+++ b/Android.bp
@@ -12370,6 +12370,7 @@
"src/trace_processor/importers/proto/stack_profile_sequence_state.cc",
"src/trace_processor/importers/proto/track_event_module.cc",
"src/trace_processor/importers/proto/track_event_parser.cc",
+ "src/trace_processor/importers/proto/track_event_sequence_state.cc",
"src/trace_processor/importers/proto/track_event_tokenizer.cc",
"src/trace_processor/importers/proto/track_event_tracker.cc",
],