<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">>     It seems the metadata files are somehow packetized. They contain plain<br>
>     text mixed in with binary data.<br>
> <br>
>     Could you please investigate which file format is used for the metadata<br>
>     files (e.g. ask on a lttng mailing list)?<br>
> <br>
> I raised a query on lltng for the same. The community is very active.<br>
> This is what they said:<br>
> <a href="https://lists.lttng.org/pipermail/lttng-dev/2019-June/029056.html" rel="noreferrer" target="_blank">https://lists.lttng.org/pipermail/lttng-dev/2019-June/029056.html</a><br>
> <br>
> Please have a look<br>
<br>
Did the answers help you to understand how the metadata is generated?<br></blockquote><div>I didn't understand much. [1] [2] [3] are the same the thing I was following to write the metadata file.</div><div><br></div><div>I had a look at [4] and [5] code. It appears to me that metadata is generated is directly from the code.</div><div><br></div><div>[1] <a href="https://diamon.org/ctf/#spec7">https://diamon.org/ctf/#spec7</a></div><div>[2] <a href="https://diamon.org/ctf/#spec7.4">https://diamon.org/ctf/#spec7.4</a></div><div>[3] <a href="https://diamon.org/ctf/#specC">https://diamon.org/ctf/#specC</a></div><div>[4] <a href="https://github.com/efficios/barectf/blob/a3ebf5855c025a86ebc2d62cbda1338461e84c5a/barectf/tsdl182gen.py">https://github.com/efficios/barectf/blob/a3ebf5855c025a86ebc2d62cbda1338461e84c5a/barectf/tsdl182gen.py</a></div></div>[5] <a href="https://github.com/lttng/lttng-tools/blob/c8e0c5f5d94fb574f4e5d7518f0f8e6f984dfe3d/src/bin/lttng-sessiond/ust-metadata.c">https://github.com/lttng/lttng-tools/blob/c8e0c5f5d94fb574f4e5d7518f0f8e6f984dfe3d/src/bin/lttng-sessiond/ust-metadata.c</a><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="4"><b>Ravindra Kumar Meena</b></font>,<div><span style="color:rgb(102,102,102)">B. Tech. Computer Science and Engineering,<br></span></div><div><span style="color:rgb(102,102,102)"><a href="https://www.iitism.ac.in/" style="color:rgb(17,85,204)" target="_blank">Indian Institute of Technology (Indian School of Mines)</a>, Dhanbad</span></div></div></div></div></div></div>