Commit | Line | Data |
---|---|---|
e8b45bc8 JD |
1 | /* CTF 1.8 */ |
2 | ||
3 | trace { | |
4 | major = 1; | |
5 | minor = 8; | |
6 | uuid = "a967fbc0-c89b-4b92-b5df-30688d576ddf"; | |
7 | byte_order = be; | |
8 | packet.header := struct { | |
9 | integer { size = 32; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } magic; | |
10 | integer { size = 8; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } uuid[16]; | |
11 | integer { size = 32; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } stream_id; | |
12 | } align(8); | |
13 | }; | |
14 | ||
15 | env { | |
16 | host = "sinkpad"; | |
17 | }; | |
18 | ||
19 | clock { | |
20 | name = test_clock; | |
21 | uuid = "fb759646-b2b9-42d7-9013-f790694dd902"; | |
22 | description = "This is a test clock"; | |
23 | freq = 1000000000; | |
24 | precision = 10; | |
a3fdf1eb | 25 | offset_s = 13515309; |
e8b45bc8 JD |
26 | offset = 0; |
27 | absolute = TRUE; | |
28 | }; | |
29 | ||
30 | stream { | |
31 | id = 0; | |
32 | event.header := struct { | |
33 | integer { size = 32; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } id; | |
34 | integer { size = 64; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; map = clock.test_clock.value; } timestamp; | |
35 | } align(8); | |
36 | ||
37 | packet.context := struct { | |
38 | integer { size = 64; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } timestamp_begin; | |
39 | integer { size = 64; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } timestamp_end; | |
40 | integer { size = 64; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } content_size; | |
41 | integer { size = 64; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } packet_size; | |
42 | integer { size = 64; align = 8; signed = false; encoding = none; base = decimal; byte_order = be; } events_discarded; | |
43 | integer { size = 64; align = 1; signed = false; encoding = none; base = decimal; byte_order = be; } packet_seq_num; | |
44 | } align(8); | |
45 | }; | |
46 | ||
47 | event { | |
48 | id = 0; | |
49 | name = "dummy_event"; | |
50 | stream_id = 0; | |
51 | fields := struct { | |
52 | integer { size = 32; align = 1; signed = false; encoding = none; base = decimal; byte_order = be; } dummy_value; | |
53 | integer { size = 32; align = 1; signed = false; encoding = none; base = decimal; byte_order = be; } tracefile_id; | |
54 | integer { size = 32; align = 1; signed = false; encoding = none; base = decimal; byte_order = be; } packet_begin; | |
55 | integer { size = 32; align = 1; signed = false; encoding = none; base = decimal; byte_order = be; } packet_end; | |
56 | } align(1); | |
57 | }; | |
58 |