| 1 |
# The MIT License (MIT) |
| 2 |
# |
| 3 |
# Copyright (c) 2016-2020 Philippe Proulx <[email protected]> |
| 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 |
|
| 23 |
%YAML 1.2 |
| 24 |
--- !<tag:barectf.org,2020/3/config> |
| 25 |
trace: |
| 26 |
type: |
| 27 |
native-byte-order: little-endian |
| 28 |
$include: |
| 29 |
- stdint.yaml |
| 30 |
- stdreal.yaml |
| 31 |
- stdmisc.yaml |
| 32 |
- lttng-ust-log-levels.yaml |
| 33 |
$field-type-aliases: |
| 34 |
state: |
| 35 |
class: unsigned-enumeration |
| 36 |
size: 8 |
| 37 |
mappings: |
| 38 |
NEW: [0] |
| 39 |
TERMINATED: [1] |
| 40 |
READY: [2] |
| 41 |
RUNNING: [3] |
| 42 |
WAITING: [4] |
| 43 |
clock-types: |
| 44 |
default: |
| 45 |
$c-type: uint64_t |
| 46 |
data-stream-types: |
| 47 |
default: |
| 48 |
$is-default: true |
| 49 |
$default-clock-type-name: default |
| 50 |
event-record-types: |
| 51 |
simple_uint32: |
| 52 |
log-level: CRIT |
| 53 |
payload-field-type: |
| 54 |
class: structure |
| 55 |
members: |
| 56 |
- value: uint32 |
| 57 |
simple_int16: |
| 58 |
payload-field-type: |
| 59 |
class: structure |
| 60 |
members: |
| 61 |
- value: int16 |
| 62 |
simple_float: |
| 63 |
payload-field-type: |
| 64 |
class: structure |
| 65 |
members: |
| 66 |
- value: float |
| 67 |
simple_string: |
| 68 |
log-level: WARNING |
| 69 |
payload-field-type: |
| 70 |
class: structure |
| 71 |
members: |
| 72 |
- value: string |
| 73 |
simple_enum: |
| 74 |
payload-field-type: |
| 75 |
class: structure |
| 76 |
members: |
| 77 |
- value: state |
| 78 |
context_no_payload: |
| 79 |
specific-context-field-type: |
| 80 |
class: structure |
| 81 |
members: |
| 82 |
- a: uint32 |
| 83 |
- b: string |
| 84 |
no_context_no_payload: {} |
| 85 |
a_few_fields: |
| 86 |
payload-field-type: |
| 87 |
class: structure |
| 88 |
members: |
| 89 |
- int32: int32 |
| 90 |
- uint16: uint16 |
| 91 |
- dbl: double |
| 92 |
- str: string |
| 93 |
- state: state |
| 94 |
bit_packed_integers: |
| 95 |
log-level: 513 |
| 96 |
payload-field-type: |
| 97 |
class: structure |
| 98 |
members: |
| 99 |
- uint1: |
| 100 |
field-type: |
| 101 |
$inherit: bit-packed-uint8 |
| 102 |
size: 1 |
| 103 |
- int1: |
| 104 |
field-type: |
| 105 |
$inherit: bit-packed-int8 |
| 106 |
size: 1 |
| 107 |
- uint2: |
| 108 |
field-type: |
| 109 |
$inherit: bit-packed-uint8 |
| 110 |
size: 2 |
| 111 |
- int3: |
| 112 |
field-type: |
| 113 |
$inherit: bit-packed-int8 |
| 114 |
size: 3 |
| 115 |
- uint4: |
| 116 |
field-type: |
| 117 |
$inherit: bit-packed-uint8 |
| 118 |
size: 4 |
| 119 |
- int5: |
| 120 |
field-type: |
| 121 |
$inherit: bit-packed-int8 |
| 122 |
size: 5 |
| 123 |
- uint6: |
| 124 |
field-type: |
| 125 |
$inherit: bit-packed-uint8 |
| 126 |
size: 6 |
| 127 |
- int7: |
| 128 |
field-type: |
| 129 |
$inherit: bit-packed-int8 |
| 130 |
size: 7 |
| 131 |
- uint8: bit-packed-uint8 |