barectf: fix Flake8 errors
[deliverable/barectf.git] / tests / config / 2 / pass / everything / config.yaml
CommitLineData
0a7000dc
PP
1# The MIT License (MIT)
2#
3# Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com>
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
e935c3f3 23version: '2.2'
bed7233f 24prefix: bctf_
e935c3f3
PP
25options:
26 gen-prefix-def: true
023229f2 27 gen-default-stream-def: true
bed7233f
PP
28metadata:
29 $include:
30 - inc-metadata.yaml
31 - stdmisc.yaml
32 - lttng-ust-log-levels.yaml
33 type-aliases:
34 my-clock-int:
35 $inherit: uint32
36 property-mappings:
37 - type: clock
38 name: some_clock
39 property: value
40 my-special-int:
41 size: 19
42 base: hex
43 $log-levels:
44 couch: 0755
45 trace:
46 $include: inc-trace.yaml
47 byte-order: be
48 clocks:
49 some_clock:
50 $include: inc-clock.yaml
51 description: this is my favorite clock
52 offset:
53 cycles: 91827439187
54 absolute: null
55 streams:
56 my_stream:
57 packet-context-type:
58 class: struct
59 fields:
60 packet_size: uint16
61 content_size: uint16
62 timestamp_begin: my-clock-int
63 timestamp_end: my-clock-int
64 events:
65 my_event:
66 payload-type:
67 class: struct
68 fields:
69 my_field:
70 class: int
71 size: 8
72 my_other_stream:
73 $include: inc-stream.yaml
74 packet-context-type:
75 class: struct
76 fields:
77 packet_size: uint32
78 content_size: uint32
79 events_discarded: uint16
80 event-header-type:
81 class: struct
82 fields:
83 id: uint8
84 timestamp: my-clock-int
85 events:
86 my_event:
87 $include: inc-event.yaml
88 context-type: null
89 payload-type:
90 class: struct
91 fields:
92 my_field:
93 class: int
94 size: 8
95 oh_henry_event:
96 payload-type:
97 class: struct
98 fields:
99 s1: string
100 s2: string
101 s3: string
102 s4: string
This page took 0.025364 seconds and 4 git commands to generate.