Commit | Line | Data |
---|---|---|
4810b707 PP |
1 | # Include this in a trace type object to get a default, basic trace type |
2 | # object with a little-endian byte order. | |
3 | # | |
4 | # The packet header field type contains: | |
5 | # | |
6 | # * A 32-bit magic number unsigned integer field type. | |
7 | # * A UUID static array field type. | |
e8f0d548 | 8 | # * An 8-bit data stream type ID unsigned integer field type. |
4810b707 PP |
9 | # |
10 | # The trace type's UUID is automatically generated by barectf. | |
11 | ||
12 | byte-order: le | |
13 | uuid: auto | |
14 | packet-header-type: | |
15 | class: struct | |
16 | fields: | |
17 | magic: | |
18 | class: int | |
19 | size: 32 | |
20 | align: 32 | |
21 | uuid: | |
22 | class: array | |
23 | length: 16 | |
24 | element-type: | |
25 | class: int | |
26 | size: 8 | |
27 | stream_id: | |
28 | class: int | |
29 | size: 8 |