Commit | Line | Data |
---|---|---|
32208394 FD |
1 | \1e{ |
2 | "type": "preamble", | |
3 | "uuid": [ | |
4 | 67, | |
5 | 119, | |
6 | 72, | |
7 | 222, | |
8 | 148, | |
9 | 53, | |
10 | 17, | |
11 | 233, | |
12 | 131, | |
13 | 83, | |
14 | 82, | |
15 | 84, | |
16 | 0, | |
17 | 124, | |
18 | 104, | |
19 | 87 | |
20 | ], | |
21 | "version": 2 | |
22 | } | |
23 | \1e{ | |
24 | "environment": { | |
25 | "barectf_gen_date": "2019-06-21T11:00:09.758481", | |
26 | "domain": "bare", | |
27 | "tracer_major": 2, | |
28 | "tracer_minor": 3, | |
29 | "tracer_name": "barectf", | |
30 | "tracer_patch": 0 | |
31 | }, | |
32 | "packet-header-field-class": { | |
33 | "member-classes": [ | |
34 | { | |
35 | "field-class": { | |
36 | "alignment": 32, | |
37 | "byte-order": "little-endian", | |
38 | "length": 32, | |
39 | "roles": [ | |
40 | "packet-magic-number" | |
41 | ], | |
42 | "type": "fixed-length-unsigned-integer" | |
43 | }, | |
44 | "name": "magic" | |
45 | }, | |
46 | { | |
47 | "field-class": { | |
48 | "length": 16, | |
49 | "roles": [ | |
50 | "metadata-stream-uuid" | |
51 | ], | |
52 | "type": "static-length-blob" | |
53 | }, | |
54 | "name": "uuid" | |
55 | }, | |
56 | { | |
57 | "field-class": { | |
58 | "alignment": 8, | |
59 | "byte-order": "little-endian", | |
60 | "length": 8, | |
61 | "roles": [ | |
62 | "data-stream-class-id" | |
63 | ], | |
64 | "type": "fixed-length-unsigned-integer" | |
65 | }, | |
66 | "name": "stream_id" | |
67 | } | |
68 | ], | |
69 | "type": "structure" | |
70 | }, | |
71 | "type": "trace-class", | |
72 | "uuid": [ | |
73 | 67, | |
74 | 119, | |
75 | 72, | |
76 | 222, | |
77 | 148, | |
78 | 53, | |
79 | 17, | |
80 | 233, | |
81 | 131, | |
82 | 83, | |
83 | 82, | |
84 | 84, | |
85 | 0, | |
86 | 124, | |
87 | 104, | |
88 | 87 | |
89 | ] | |
90 | } | |
91 | \1e{ | |
92 | "frequency": 1000000000, | |
93 | "name": "default", | |
94 | "offset": { | |
95 | "cycles": 0, | |
96 | "seconds": 1434072888 | |
97 | }, | |
98 | "origin-is-unix-epoch": false, | |
99 | "type": "clock-class" | |
100 | } | |
101 | \1e{ | |
102 | "default-clock-class-name": "default", | |
103 | "event-record-header-field-class": { | |
104 | "member-classes": [ | |
105 | { | |
106 | "field-class": { | |
107 | "alignment": 64, | |
108 | "byte-order": "little-endian", | |
109 | "length": 64, | |
110 | "roles": [ | |
111 | "default-clock-timestamp" | |
112 | ], | |
113 | "type": "fixed-length-unsigned-integer" | |
114 | }, | |
115 | "name": "timestamp" | |
116 | }, | |
117 | { | |
118 | "field-class": { | |
119 | "alignment": 16, | |
120 | "byte-order": "little-endian", | |
121 | "length": 16, | |
122 | "roles": [ | |
123 | "event-record-class-id" | |
124 | ], | |
125 | "type": "fixed-length-unsigned-integer" | |
126 | }, | |
127 | "name": "id" | |
128 | } | |
129 | ], | |
130 | "type": "structure" | |
131 | }, | |
132 | "packet-context-field-class": { | |
133 | "member-classes": [ | |
134 | { | |
135 | "field-class": { | |
136 | "alignment": 64, | |
137 | "byte-order": "little-endian", | |
138 | "length": 64, | |
139 | "roles": [ | |
140 | "default-clock-timestamp" | |
141 | ], | |
142 | "type": "fixed-length-unsigned-integer" | |
143 | }, | |
144 | "name": "timestamp_begin" | |
145 | }, | |
146 | { | |
147 | "field-class": { | |
148 | "alignment": 64, | |
149 | "byte-order": "little-endian", | |
150 | "length": 64, | |
151 | "roles": [ | |
152 | "packet-end-default-clock-timestamp" | |
153 | ], | |
154 | "type": "fixed-length-unsigned-integer" | |
155 | }, | |
156 | "name": "timestamp_end" | |
157 | }, | |
158 | { | |
159 | "field-class": { | |
160 | "alignment": 32, | |
161 | "byte-order": "little-endian", | |
162 | "length": 32, | |
163 | "roles": [ | |
164 | "packet-total-length" | |
165 | ], | |
166 | "type": "fixed-length-unsigned-integer" | |
167 | }, | |
168 | "name": "packet_size" | |
169 | }, | |
170 | { | |
171 | "field-class": { | |
172 | "alignment": 32, | |
173 | "byte-order": "little-endian", | |
174 | "length": 32, | |
175 | "roles": [ | |
176 | "packet-content-length" | |
177 | ], | |
178 | "type": "fixed-length-unsigned-integer" | |
179 | }, | |
180 | "name": "content_size" | |
181 | }, | |
182 | { | |
183 | "field-class": { | |
184 | "alignment": 32, | |
185 | "byte-order": "little-endian", | |
186 | "length": 32, | |
187 | "roles": [ | |
188 | "discarded-event-record-counter-snapshot" | |
189 | ], | |
190 | "type": "fixed-length-unsigned-integer" | |
191 | }, | |
192 | "name": "events_discarded" | |
193 | } | |
194 | ], | |
195 | "type": "structure" | |
196 | }, | |
197 | "type": "data-stream-class" | |
198 | } | |
199 | \1e{ | |
200 | "name": "simple_uint32", | |
201 | "payload-field-class": { | |
202 | "member-classes": [ | |
203 | { | |
204 | "field-class": { | |
205 | "alignment": 32, | |
206 | "byte-order": "little-endian", | |
207 | "length": 32, | |
208 | "type": "fixed-length-unsigned-integer" | |
209 | }, | |
210 | "name": "value" | |
211 | } | |
212 | ], | |
213 | "type": "structure" | |
214 | }, | |
215 | "type": "event-record-class", | |
216 | "user-attributes": { | |
217 | "babeltrace.org,2020": { | |
218 | "log-level": "critical" | |
219 | } | |
220 | } | |
221 | } |