Debian Codegraph @

tests/tracing/expect/counter-clock/trace-type-features/uuid.metadata.expect

raw
1 /* CTF 1.8 */
2
3 /*
4 * The MIT License (MIT)
5 *
6 *
7 * Permission is hereby granted, free of charge, to any person obtaining
8 * a copy of this software and associated documentation files (the
9 * "Software"), to deal in the Software without restriction, including
10 * without limitation the rights to use, copy, modify, merge, publish,
11 * distribute, sublicense, and/or sell copies of the Software, and to
12 * permit persons to whom the Software is furnished to do so, subject to
13 * the following conditions:
14 *
15 * The above copyright notice and this permission notice shall be
16 * included in all copies or substantial portions of the Software.
17 *
18 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
19 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
21 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
22 * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
23 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
24 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25 * SOFTWARE.
26 *
27 * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
28 *
29 *
30 * For more details, see <https://barectf.org/>.
31 */
32
33 trace {
34 major = 1;
35 minor = 8;
36 byte_order = le;
37 uuid = "79e49040-21b5-42d4-a83b-646f78666b62";
38 packet.header := struct {
39 integer {
40 signed = false;
41 size = 8;
42 align = 8;
43 byte_order = native;
44 base = 10;
45 } uuid[16];
46 integer {
47 signed = false;
48 size = 64;
49 align = 8;
50 byte_order = native;
51 base = 10;
52 } stream_id;
53 } align(8);
54 };
55
56 env {
57 domain = "bare";
58 tracer_name = "barectf";
59 };
60
61 clock {
62 name = default;
63 freq = 1000000000;
64 precision = 0;
65 offset_s = 0;
66 offset = 0;
67 absolute = false;
68 };
69
70 /* Data stream type `default` */
71 stream {
72 id = 0;
73 packet.context := struct {
74 integer {
75 signed = false;
76 size = 64;
77 align = 8;
78 byte_order = native;
79 base = 10;
80 } packet_size;
81 integer {
82 signed = false;
83 size = 64;
84 align = 8;
85 byte_order = native;
86 base = 10;
87 } content_size;
88 } align(8);
89 event.header := struct {
90 integer {
91 signed = false;
92 size = 64;
93 align = 8;
94 byte_order = native;
95 base = 10;
96 } id;
97 } align(8);
98 };
99
100 event {
101 stream_id = 0;
102 id = 0;
103 name = "dummy";
104 fields := struct {
105 string {
106 encoding = UTF8;
107 } u;
108 } align(1);
109 };