Fix: barectf_packet_set_buf(): keep full packet state
[barectf.git] / tests / tracing / expect / packet-set-buf / packet-set-buf / packet-set-buf.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 = 8;
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 /* Data stream type `default` */
54 stream {
55 id = 0;
56 packet.context := struct {
57 integer {
58 signed = false;
59 size = 8;
60 align = 8;
61 byte_order = native;
62 base = 10;
63 } packet_size;
64 integer {
65 signed = false;
66 size = 8;
67 align = 8;
68 byte_order = native;
69 base = 10;
70 } content_size;
71 } align(8);
72 event.header := struct {
73 integer {
74 signed = false;
75 size = 8;
76 align = 8;
77 byte_order = native;
78 base = 10;
79 } id;
80 } align(8);
81 };
82
83 event {
84 stream_id = 0;
85 id = 0;
86 name = "ev";
87 fields := struct {
88 string {
89 encoding = UTF8;
90 } s;
91 } align(1);
92 };
This page took 0.031638 seconds and 4 git commands to generate.