| 1 | /* CTF 1.8 */ |
| 2 | typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t; |
| 3 | typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t; |
| 4 | |
| 5 | trace { |
| 6 | major = 1; |
| 7 | minor = 8; |
| 8 | uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564"; |
| 9 | byte_order = le; |
| 10 | packet.header := struct { |
| 11 | uint32_t magic; |
| 12 | uint8_t uuid[16]; |
| 13 | }; |
| 14 | }; |
| 15 | |
| 16 | /* The first character is an escape char and is removed. */ |
| 17 | /* Thus the field _ will produce an empty string. */ |
| 18 | event { |
| 19 | name = string; |
| 20 | fields := struct { |
| 21 | string _; |
| 22 | string __; |
| 23 | string ___; |
| 24 | }; |
| 25 | }; |