Commit | Line | Data |
---|---|---|
185bd6ca AM |
1 | /* CTF 1.8 */ |
2 | trace { | |
3 | major = 1; | |
4 | minor = 8; | |
5 | byte_order = le; | |
6 | packet.header := struct { | |
7 | integer { size = 32; align = 8; signed = false; encoding = none; base = decimal; byte_order = le; } stream_id; | |
8 | }; | |
9 | }; | |
10 | ||
11 | /* | |
12 | * Some events explicitly define stream_id = 0, others don't specify a stream_id | |
13 | * at all. This should be valid, as long as no other stream is defined. | |
14 | */ | |
15 | ||
16 | stream { | |
17 | id = 0; | |
18 | }; | |
19 | ||
20 | event { | |
21 | id = 0; | |
22 | name = "event0"; | |
23 | }; | |
24 | ||
25 | event { | |
26 | id = 1; | |
27 | name = "event1"; | |
28 | }; | |
29 | ||
30 | event { | |
31 | id = 2; | |
32 | name = "event2"; | |
33 | stream_id = 0; | |
34 | }; | |
35 | ||
36 | event { | |
37 | id = 3; | |
38 | name = "event3"; | |
39 | }; |