Update tests to include new packet.header description
[babeltrace.git] / formats / ctf / metadata / ctf-test / succeed / ctf-test.txt
index ac25a4a8816382a06a2d8fc4110fa9af0ab3ce22..260ac024bab30ab19497c3e9436fe7dff03a34e9 100644 (file)
@@ -39,10 +39,20 @@ typealias integer {
   signed = false;
 } := struct page *;
 
+struct event_packet_header {
+  typealias integer { size = 32; align = 32; signed = false; } := uint32_t;
+  typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
+
+  uint32_t magic;
+  uint8_t  trace_uuid[16];
+  uint32_t stream_id;
+};
+
 trace {
        major = 66;
        minor = 2;
        uuid = "1123fcea-706e-11e0-a38b-f3c28a683a3d";
+       packet.header := struct event_packet_header;
 };
 
 stream {
@@ -93,15 +103,6 @@ typealias integer {
 
 typealias string { encoding = UTF8; } := test;
 
-struct event_packet_header {
-  typealias integer { size = 32; align = 32; signed = false; } := uint32_t;
-  typealias integer { size = 8; align = 8; signed = false; } := uint8_t;
-
-  uint32_t magic;
-  uint8_t  trace_uuid[16];
-  uint32_t stream_id;
-};
-
 struct event_packet_context {
   typealias integer { size = 64; align = 64; signed = false; } := uint64_t;
   typealias integer { size = 32; align = 32; signed = false; } := uint32_t;
This page took 0.023048 seconds and 4 git commands to generate.