Make all traces explicitly support the CTF 1.8 spec
[ctf-testsuite.git] / tests / 1.8 / regression / metadata / fail / array-size-type-field / metadata
CommitLineData
03f37b22
MD
1/* CTF 1.8 */
2typealias integer { size = 8; align = 8; signed = false; base = 10; } := uint8_t;
3typealias integer { size = 16; align = 8; signed = false; base = 10; } := uint16_t;
4typealias integer { size = 32; align = 32; signed = false; base = hex; } := uint32_t;
5
6
7
8trace {
83fcdab0
FD
9 major = 1;
10 minor = 8;
03f37b22
MD
11 uuid = "2a6422d0-6cee-11e0-8c08-cb07d7b3a564";
12 byte_order = le;
13 packet.header := struct {
14 uint32_t magic;
15 uint8_t uuid[16];
16 };
17};
18
19/* Enum can be nameless */
20event {
21 name = string;
22 fields := struct {
23 uint32_t A[uint32_t];
24 };
25};
This page took 0.023663 seconds and 4 git commands to generate.