| 1 | typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t; |
| 2 | typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t; |
| 3 | |
| 4 | trace { |
| 5 | major = 0; |
| 6 | minor = 1; |
| 7 | uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564"; |
| 8 | byte_order = le; |
| 9 | packet.header := struct { |
| 10 | uint32_t magic; |
| 11 | uint8_t uuid[16]; |
| 12 | }; |
| 13 | }; |
| 14 | |
| 15 | stream { |
| 16 | packet.context := struct { |
| 17 | uint32_t content_size; |
| 18 | uint32_t packet_size; |
| 19 | }; |
| 20 | }; |
| 21 | |
| 22 | event { |
| 23 | name = string; |
| 24 | fields := struct { string str; }; |
| 25 | }; |