traced: Add kernel version to trace
trace_processor needs certain information about the system the trace was
taken from to understand the trace. Add that information on first read.
Change-Id: Idd50516e7d263139e87da460661e30f67938889f
diff --git a/src/tracing/core/service_impl_unittest.cc b/src/tracing/core/service_impl_unittest.cc
index 81f4634..eca7d6d 100644
--- a/src/tracing/core/service_impl_unittest.cc
+++ b/src/tracing/core/service_impl_unittest.cc
@@ -430,7 +430,11 @@
producer->WaitForDataSourceSetup("data_source");
producer->WaitForDataSourceStart("data_source");
- static const int kNumPreamblePackets = 4;
+ // The preamble packets are:
+ // Config
+ // SystemInfo
+ // 3x unknown
+ static const int kNumPreamblePackets = 5;
static const int kNumTestPackets = 10;
static const char kPayload[] = "1234567890abcdef-";