Tests: ctf: add tracers timestamp quirks workaround test cases
[babeltrace.git] / tests / data / ctf-traces / succeed / barectf-event-before-packet / metadata
1 /* CTF 1.8 */
2
3 /*
4 * The MIT License (MIT)
5 *
6 * Copyright (c) 2015-2016 Philippe Proulx <pproulx@efficios.com>
7 *
8 * Permission is hereby granted, free of charge, to any person obtaining a copy
9 * of this software and associated documentation files (the "Software"), to deal
10 * in the Software without restriction, including without limitation the rights
11 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
12 * copies of the Software, and to permit persons to whom the Software is
13 * furnished to do so, subject to the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be included in
16 * all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
19 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
20 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
21 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
22 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
23 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
24 * THE SOFTWARE.
25 *
26 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
27 *
28 * The following TSDL code was generated by barectf v2.3.0
29 * on 2019-06-21 11:00:09.758512.
30 *
31 * For more details, see <http://barectf.org>.
32 */
33
34 trace {
35 major = 1;
36 minor = 8;
37 byte_order = le;
38 uuid = "437748de-9435-11e9-8353-5254007c6857";
39 packet.header := struct {
40 integer {
41 size = 32;
42 align = 32;
43 signed = false;
44 byte_order = le;
45 base = 10;
46 encoding = none;
47 } magic;
48 integer {
49 size = 8;
50 align = 8;
51 signed = false;
52 byte_order = le;
53 base = 10;
54 encoding = none;
55 } uuid[16];
56 integer {
57 size = 8;
58 align = 8;
59 signed = false;
60 byte_order = le;
61 base = 10;
62 encoding = none;
63 } stream_id;
64 } align(1);
65 };
66
67 env {
68 domain = "bare";
69 tracer_name = "barectf";
70 tracer_major = 2;
71 tracer_minor = 3;
72 tracer_patch = 0;
73 barectf_gen_date = "2019-06-21T11:00:09.758481";
74 };
75
76 clock {
77 name = default;
78 freq = 1000000000;
79 offset_s = 1434072888;
80 offset = 0;
81 precision = 0;
82 absolute = false;
83 };
84
85 /* default */
86 stream {
87 id = 0;
88 packet.context := struct {
89 integer {
90 size = 64;
91 align = 64;
92 signed = false;
93 byte_order = le;
94 base = 10;
95 encoding = none;
96 map = clock.default.value;
97 } timestamp_begin;
98 integer {
99 size = 64;
100 align = 64;
101 signed = false;
102 byte_order = le;
103 base = 10;
104 encoding = none;
105 map = clock.default.value;
106 } timestamp_end;
107 integer {
108 size = 32;
109 align = 32;
110 signed = false;
111 byte_order = le;
112 base = 10;
113 encoding = none;
114 } packet_size;
115 integer {
116 size = 32;
117 align = 32;
118 signed = false;
119 byte_order = le;
120 base = 10;
121 encoding = none;
122 } content_size;
123 integer {
124 size = 32;
125 align = 32;
126 signed = false;
127 byte_order = le;
128 base = 10;
129 encoding = none;
130 } events_discarded;
131 } align(1);
132 event.header := struct {
133 integer {
134 size = 64;
135 align = 64;
136 signed = false;
137 byte_order = le;
138 base = 10;
139 encoding = none;
140 map = clock.default.value;
141 } timestamp;
142 integer {
143 size = 16;
144 align = 16;
145 signed = false;
146 byte_order = le;
147 base = 10;
148 encoding = none;
149 } id;
150 } align(1);
151 };
152
153 event {
154 name = "simple_uint32";
155 id = 0;
156 stream_id = 0; /* default */
157 loglevel = 2; /* CRIT */
158 fields := struct {
159 integer {
160 size = 32;
161 align = 32;
162 signed = false;
163 byte_order = le;
164 base = 10;
165 encoding = none;
166 } value;
167 } align(1);
168 };
This page took 0.0434 seconds and 4 git commands to generate.