Commit | Line | Data |
---|---|---|
e8b45bc8 JD |
1 | /* CTF 1.8 */ |
2 | ||
3 | trace { | |
4 | major = 1; | |
5 | minor = 8; | |
6 | uuid = "7afe8fbe-79b8-4f6a-bbc7-d0c782e7ddaf"; | |
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 = "7b9e2f2a-530e-4ab1-816f-0831b5c09140"; | |
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 |