Add dynamic array tracing tests
[barectf.git] / barectf / include / 2 / trace-basic.yaml
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.
8 # * An 8-bit stream type ID unsigned integer field type.
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
This page took 0.050819 seconds and 5 git commands to generate.