# The MIT License (MIT) # # Copyright (c) 2016 Philippe Proulx # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. version: '2.2' prefix: bctf_ options: gen-prefix-def: true gen-default-stream-def: true metadata: $include: - inc-metadata.yaml - stdmisc.yaml - lttng-ust-log-levels.yaml type-aliases: my-clock-int: $inherit: uint32 property-mappings: - type: clock name: some_clock property: value my-special-int: size: 19 base: hex $log-levels: couch: 0755 trace: $include: inc-trace.yaml byte-order: be clocks: some_clock: $include: inc-clock.yaml description: this is my favorite clock offset: cycles: 91827439187 absolute: null streams: my_stream: packet-context-type: class: struct fields: packet_size: uint16 content_size: uint16 timestamp_begin: my-clock-int timestamp_end: my-clock-int events: my_event: payload-type: class: struct fields: my_field: class: int size: 8 my_other_stream: $include: inc-stream.yaml packet-context-type: class: struct fields: packet_size: uint32 content_size: uint32 events_discarded: uint16 event-header-type: class: struct fields: id: uint8 timestamp: my-clock-int events: my_event: $include: inc-event.yaml context-type: null payload-type: class: struct fields: my_field: class: int size: 8 oh_henry_event: payload-type: class: struct fields: s1: string s2: string s3: string s4: string