ff5060245586207edbed1c7a9b31889fe2560f38
[deliverable/barectf.git] / doc / examples / linux-fs-simple / config.yaml
1 version: '2.2'
2 metadata:
3 $include:
4 - stdint.yaml
5 - stdfloat.yaml
6 - stdmisc.yaml
7 - lttng-ust-log-levels.yaml
8 type-aliases:
9 clock-int:
10 $inherit: uint64
11 property-mappings:
12 - type: clock
13 name: default
14 property: value
15 state:
16 class: enum
17 value-type: uint8
18 members:
19 - NEW
20 - TERMINATED
21 - READY
22 - RUNNING
23 - WAITING
24 clocks:
25 default:
26 freq: 1000000000
27 offset:
28 seconds: 1434072888
29 $return-ctype: uint64_t
30 trace:
31 $include: trace-basic.yaml
32 byte-order: le
33 streams:
34 default:
35 $default: true
36 packet-context-type:
37 class: struct
38 fields:
39 timestamp_begin: clock-int
40 timestamp_end: clock-int
41 packet_size: uint32
42 content_size: uint32
43 events_discarded: uint32
44 event-header-type:
45 class: struct
46 fields:
47 timestamp: clock-int
48 id: uint16
49 events:
50 simple_uint32:
51 log-level: CRIT
52 payload-type:
53 class: struct
54 fields:
55 value: uint32
56 simple_int16:
57 payload-type:
58 class: struct
59 fields:
60 value: int16
61 simple_float:
62 payload-type:
63 class: struct
64 fields:
65 value: float
66 simple_string:
67 log-level: WARNING
68 payload-type:
69 class: struct
70 fields:
71 value:
72 class: string
73 simple_enum:
74 payload-type:
75 class: struct
76 fields:
77 value: state
78 context_no_payload:
79 context-type:
80 class: struct
81 fields:
82 a: uint32
83 b: string
84 no_context_no_payload: {}
85 a_few_fields:
86 payload-type:
87 class: struct
88 fields:
89 int32: int32
90 uint16: uint16
91 dbl: double
92 str:
93 class: string
94 state: state
95 bit_packed_integers:
96 log-level: 513
97 payload-type:
98 class: struct
99 min-align: 8
100 fields:
101 uint1:
102 $inherit: uint8
103 size: 1
104 align: 1
105 int1:
106 $inherit: int8
107 size: 1
108 align: 1
109 uint2:
110 $inherit: uint8
111 size: 2
112 align: 1
113 int3:
114 $inherit: int8
115 size: 3
116 align: 1
117 uint4:
118 $inherit: uint8
119 size: 4
120 align: 1
121 int5:
122 $inherit: int8
123 size: 5
124 align: 1
125 uint6:
126 $inherit: uint8
127 size: 6
128 align: 1
129 int7:
130 $inherit: int8
131 size: 7
132 align: 1
133 uint8:
134 $inherit: uint8
135 align: 1
This page took 0.033205 seconds and 3 git commands to generate.