doc/examples: use provided include files in configs
[deliverable/barectf.git] / doc / examples / parallella / config.yaml
1 version: '2.1'
2 metadata:
3 $include:
4 - stdint.yaml
5 - stdfloat.yaml
6 - stdmisc.yaml
7 - lttng-ust-log-levels.yaml
8 type-aliases:
9 uint6:
10 $inherit: bit-packed-uint8
11 size: 6
12 clock_int:
13 $inherit: uint64
14 property-mappings:
15 - type: clock
16 name: default
17 property: value
18 state:
19 class: enum
20 value-type: uint8
21 members:
22 - NEW
23 - TERMINATED
24 - READY
25 - RUNNING
26 - WAITING
27 clocks:
28 default:
29 freq: 1000000000
30 offset:
31 seconds: 1434580186
32 $return-ctype: uint64_t
33 trace:
34 $include: trace-basic.yaml
35 byte-order: le
36 streams:
37 default:
38 packet-context-type:
39 class: struct
40 fields:
41 timestamp_begin: clock_int
42 timestamp_end: clock_int
43 packet_size: uint32
44 content_size: uint32
45 events_discarded: uint32
46 row: uint6
47 col: uint6
48 event-header-type:
49 class: struct
50 fields:
51 timestamp: clock_int
52 id: uint16
53 events:
54 bit_packed_integers:
55 payload-type:
56 class: struct
57 min-align: 8
58 fields:
59 uint1:
60 $inherit: uint8
61 size: 1
62 align: 1
63 int1:
64 $inherit: int8
65 size: 1
66 align: 1
67 uint2:
68 $inherit: uint8
69 size: 2
70 align: 1
71 int3:
72 $inherit: int8
73 size: 3
74 align: 1
75 uint4:
76 $inherit: uint8
77 size: 4
78 align: 1
79 int5:
80 $inherit: int8
81 size: 5
82 align: 1
83 string_and_float:
84 payload-type:
85 class: struct
86 fields:
87 the_string: string
88 the_float: float
This page took 0.031042 seconds and 4 git commands to generate.