Commit | Line | Data |
---|---|---|
0a7000dc PP |
1 | # The MIT License (MIT) |
2 | # | |
41096c4f | 3 | # Copyright (c) 2016-2020 Philippe Proulx <pproulx@efficios.com> |
0a7000dc PP |
4 | # |
5 | # Permission is hereby granted, free of charge, to any person obtaining a copy | |
6 | # of this software and associated documentation files (the "Software"), to deal | |
7 | # in the Software without restriction, including without limitation the rights | |
8 | # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
9 | # copies of the Software, and to permit persons to whom the Software is | |
10 | # furnished to do so, subject to the following conditions: | |
11 | # | |
12 | # The above copyright notice and this permission notice shall be included in | |
13 | # all copies or substantial portions of the Software. | |
14 | # | |
15 | # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | |
16 | # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | |
17 | # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | |
18 | # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | |
19 | # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | |
20 | # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | |
21 | # THE SOFTWARE. | |
22 | ||
bc9a33a3 PP |
23 | %YAML 1.2 |
24 | ||
41096c4f PP |
25 | --- !<tag:barectf.org,2020/3/config> |
26 | target-byte-order: little-endian | |
27 | trace: | |
28 | type: | |
29 | $include: | |
30 | - stdint.yaml | |
31 | - stdreal.yaml | |
32 | - stdmisc.yaml | |
33 | - lttng-ust-log-levels.yaml | |
34 | $field-type-aliases: | |
35 | state: | |
36 | class: unsigned-enumeration | |
37 | size: 8 | |
38 | mappings: | |
39 | NEW: [0] | |
40 | TERMINATED: [1] | |
41 | READY: [2] | |
42 | RUNNING: [3] | |
43 | WAITING: [4] | |
44 | clock-types: | |
45 | default: | |
46 | $c-type: uint64_t | |
47 | data-stream-types: | |
48 | default: | |
49 | $is-default: true | |
50 | $default-clock-type-name: default | |
51 | event-record-types: | |
52 | simple_uint32: | |
53 | log-level: CRIT | |
54 | payload-field-type: | |
55 | class: structure | |
56 | members: | |
57 | - value: uint32 | |
58 | simple_int16: | |
59 | payload-field-type: | |
60 | class: structure | |
61 | members: | |
62 | - value: int16 | |
63 | simple_float: | |
64 | payload-field-type: | |
65 | class: structure | |
66 | members: | |
67 | - value: float | |
68 | simple_string: | |
69 | log-level: WARNING | |
70 | payload-field-type: | |
71 | class: structure | |
72 | members: | |
73 | - value: string | |
74 | simple_enum: | |
75 | payload-field-type: | |
76 | class: structure | |
77 | members: | |
78 | - value: state | |
79 | context_no_payload: | |
80 | specific-context-field-type: | |
81 | class: structure | |
82 | members: | |
83 | - a: uint32 | |
84 | - b: string | |
85 | no_context_no_payload: {} | |
86 | a_few_fields: | |
87 | payload-field-type: | |
88 | class: structure | |
89 | members: | |
90 | - int32: int32 | |
91 | - uint16: uint16 | |
92 | - dbl: double | |
93 | - str: string | |
94 | - state: state | |
95 | bit_packed_integers: | |
96 | log-level: 513 | |
97 | payload-field-type: | |
98 | class: structure | |
99 | members: | |
100 | - uint1: | |
101 | field-type: | |
102 | $inherit: bit-packed-uint8 | |
103 | size: 1 | |
104 | - int1: | |
105 | field-type: | |
106 | $inherit: bit-packed-int8 | |
107 | size: 1 | |
108 | - uint2: | |
109 | field-type: | |
110 | $inherit: bit-packed-uint8 | |
111 | size: 2 | |
112 | - int3: | |
113 | field-type: | |
114 | $inherit: bit-packed-int8 | |
115 | size: 3 | |
116 | - uint4: | |
117 | field-type: | |
118 | $inherit: bit-packed-uint8 | |
119 | size: 4 | |
120 | - int5: | |
121 | field-type: | |
122 | $inherit: bit-packed-int8 | |
123 | size: 5 | |
124 | - uint6: | |
125 | field-type: | |
126 | $inherit: bit-packed-uint8 | |
127 | size: 6 | |
128 | - int7: | |
129 | field-type: | |
130 | $inherit: bit-packed-int8 | |
131 | size: 7 | |
132 | - uint8: bit-packed-uint8 |