Commit | Line | Data |
---|---|---|
03d34581 MD |
1 | /* CTF 1.8 */ |
2 | typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t; | |
3 | typealias integer { size = 32; align = 8; signed = false; base = hex; } := uint32_t; | |
4 | typealias integer { size = 64; align = 8; signed = false; base = hex; } := uint64_t; | |
5 | typealias floating_point { exp_dig = 11; mant_dig = 53; } := double; | |
6 | ||
7 | trace { | |
83fcdab0 FD |
8 | major = 1; |
9 | minor = 8; | |
03d34581 MD |
10 | uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564"; |
11 | byte_order = le; | |
12 | packet.header := struct { | |
13 | uint32_t magic; | |
14 | uint8_t uuid[16]; | |
15 | }; | |
16 | }; | |
17 | ||
18 | stream { | |
19 | packet.context := struct { | |
20 | uint32_t packet_size; | |
21 | uint32_t content_size; | |
22 | }; | |
23 | }; | |
24 | ||
25 | event { | |
26 | name = myevent; | |
27 | fields := struct { double f; }; | |
28 | }; |