X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Fdata%2Fctf-traces%2Fsucceed%2Fbarectf-event-before-packet%2Fmetadata;fp=tests%2Fdata%2Fctf-traces%2Fsucceed%2Fbarectf-event-before-packet%2Fmetadata;h=76e608097edaf3e5555852c4f4b67bae77c5c6c4;hb=8e03dac57df3ee78b8c7c78bfdec4dec5669741c;hp=0000000000000000000000000000000000000000;hpb=1eb289076eed1e36fa2c7256f504fb22f40f9f7c;p=babeltrace.git diff --git a/tests/data/ctf-traces/succeed/barectf-event-before-packet/metadata b/tests/data/ctf-traces/succeed/barectf-event-before-packet/metadata new file mode 100644 index 00000000..76e60809 --- /dev/null +++ b/tests/data/ctf-traces/succeed/barectf-event-before-packet/metadata @@ -0,0 +1,168 @@ +/* CTF 1.8 */ + +/* + * The MIT License (MIT) + * + * Copyright (c) 2015-2016 Philippe Proulx + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in + * all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + * THE SOFTWARE. + * + * - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + * + * The following TSDL code was generated by barectf v2.3.0 + * on 2019-06-21 11:00:09.758512. + * + * For more details, see . + */ + +trace { + major = 1; + minor = 8; + byte_order = le; + uuid = "437748de-9435-11e9-8353-5254007c6857"; + packet.header := struct { + integer { + size = 32; + align = 32; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } magic; + integer { + size = 8; + align = 8; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } uuid[16]; + integer { + size = 8; + align = 8; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } stream_id; + } align(1); +}; + +env { + domain = "bare"; + tracer_name = "barectf"; + tracer_major = 2; + tracer_minor = 3; + tracer_patch = 0; + barectf_gen_date = "2019-06-21T11:00:09.758481"; +}; + +clock { + name = default; + freq = 1000000000; + offset_s = 1434072888; + offset = 0; + precision = 0; + absolute = false; +}; + +/* default */ +stream { + id = 0; + packet.context := struct { + integer { + size = 64; + align = 64; + signed = false; + byte_order = le; + base = 10; + encoding = none; + map = clock.default.value; + } timestamp_begin; + integer { + size = 64; + align = 64; + signed = false; + byte_order = le; + base = 10; + encoding = none; + map = clock.default.value; + } timestamp_end; + integer { + size = 32; + align = 32; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } packet_size; + integer { + size = 32; + align = 32; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } content_size; + integer { + size = 32; + align = 32; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } events_discarded; + } align(1); + event.header := struct { + integer { + size = 64; + align = 64; + signed = false; + byte_order = le; + base = 10; + encoding = none; + map = clock.default.value; + } timestamp; + integer { + size = 16; + align = 16; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } id; + } align(1); +}; + +event { + name = "simple_uint32"; + id = 0; + stream_id = 0; /* default */ + loglevel = 2; /* CRIT */ + fields := struct { + integer { + size = 32; + align = 32; + signed = false; + byte_order = le; + base = 10; + encoding = none; + } value; + } align(1); +};