tests: Make partial YAML files easy to filter
[barectf.git] / tests / config / yaml / 2 / configs / pass / everything / config.yaml
CommitLineData
0a7000dc
PP
1# The MIT License (MIT)
2#
3# Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com>
4#
982a3367
PP
5# Permission is hereby granted, free of charge, to any person obtaining
6# a copy of this software and associated documentation files (the
7# "Software"), to deal in the Software without restriction, including
8# without limitation the rights to use, copy, modify, merge, publish,
9# distribute, sublicense, and/or sell copies of the Software, and to
10# permit persons to whom the Software is furnished to do so, subject to
11# the following conditions:
0a7000dc 12#
982a3367
PP
13# The above copyright notice and this permission notice shall be
14# included in all copies or substantial portions of the Software.
0a7000dc 15#
982a3367
PP
16# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19# IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
20# CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21# TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22# SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
0a7000dc 23
e935c3f3 24version: '2.2'
bed7233f 25prefix: bctf_
e935c3f3
PP
26options:
27 gen-prefix-def: true
023229f2 28 gen-default-stream-def: true
bed7233f
PP
29metadata:
30 $include:
c9f55038 31 - metadata.inc.yaml
bed7233f
PP
32 - stdmisc.yaml
33 - lttng-ust-log-levels.yaml
34 type-aliases:
35 my-clock-int:
36 $inherit: uint32
37 property-mappings:
38 - type: clock
39 name: some_clock
40 property: value
41 my-special-int:
42 size: 19
43 base: hex
44 $log-levels:
45 couch: 0755
46 trace:
c9f55038 47 $include: trace.inc.yaml
bed7233f
PP
48 byte-order: be
49 clocks:
50 some_clock:
c9f55038 51 $include: clock.inc.yaml
bed7233f
PP
52 description: this is my favorite clock
53 offset:
54 cycles: 91827439187
55 absolute: null
56 streams:
57 my_stream:
58 packet-context-type:
59 class: struct
60 fields:
61 packet_size: uint16
62 content_size: uint16
63 timestamp_begin: my-clock-int
64 timestamp_end: my-clock-int
65 events:
66 my_event:
67 payload-type:
68 class: struct
69 fields:
70 my_field:
71 class: int
72 size: 8
73 my_other_stream:
c9f55038 74 $include: stream.inc.yaml
bed7233f
PP
75 packet-context-type:
76 class: struct
77 fields:
78 packet_size: uint32
79 content_size: uint32
80 events_discarded: uint16
81 event-header-type:
82 class: struct
83 fields:
84 id: uint8
85 timestamp: my-clock-int
86 events:
87 my_event:
c9f55038 88 $include: event.inc.yaml
bed7233f
PP
89 context-type: null
90 payload-type:
91 class: struct
92 fields:
93 my_field:
94 class: int
95 size: 8
96 oh_henry_event:
97 payload-type:
98 class: struct
99 fields:
100 s1: string
101 s2: string
102 s3: string
103 s4: string
This page took 0.029192 seconds and 4 git commands to generate.