tests/tracing: add data stream type packet feature tests
[barectf.git] / tests / tracing / expect / counter-clock / dst-packet-features / beg-end-ts-multi.metadata.expect
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 packet.header := struct {
38 integer {
39 signed = false;
40 size = 64;
41 align = 8;
42 byte_order = native;
43 base = 10;
44 } stream_id;
45 } align(8);
46 };
47
48 env {
49 domain = "bare";
50 tracer_name = "barectf";
51 };
52
53 clock {
54 name = default;
55 freq = 1000000000;
56 precision = 0;
57 offset_s = 0;
58 offset = 0;
59 absolute = false;
60 };
61
62 /* Data stream type `default` */
63 stream {
64 id = 0;
65 packet.context := struct {
66 integer {
67 signed = false;
68 size = 64;
69 align = 8;
70 byte_order = native;
71 base = 10;
72 } packet_size;
73 integer {
74 signed = false;
75 size = 64;
76 align = 8;
77 byte_order = native;
78 base = 10;
79 } content_size;
80 integer {
81 signed = false;
82 size = 64;
83 align = 8;
84 byte_order = native;
85 base = 10;
86 map = clock.default.value;
87 } timestamp_begin;
88 integer {
89 signed = false;
90 size = 64;
91 align = 8;
92 byte_order = native;
93 base = 10;
94 map = clock.default.value;
95 } timestamp_end;
96 } align(8);
97 event.header := struct {
98 integer {
99 signed = false;
100 size = 64;
101 align = 8;
102 byte_order = native;
103 base = 10;
104 } id;
105 } align(8);
106 };
107
108 event {
109 stream_id = 0;
110 id = 0;
111 name = "dummy";
112 fields := struct {
113 string {
114 encoding = UTF8;
115 } u;
116 } align(1);
117 };
This page took 0.046321 seconds and 4 git commands to generate.