<div dir="ltr"><b>Plan of the week:</b><div>Last week packet.header part from both client-side and metadata was completed. I will continue to work on adding packet.context etc.</div><div><br></div><div>I got the response from lltng about stream_instance_id.</div><div><a href="https://lists.lttng.org/pipermail/lttng-dev/2019-July/029093.html">https://lists.lttng.org/pipermail/lttng-dev/2019-July/029093.html</a></div><div><br></div><div>I have made changes accordingly.</div><div><a href="https://github.com/rmeena840/rtems-tools/commit/4e9b6825687242ca60da50d3f6feed08714440a2">https://github.com/rmeena840/rtems-tools/commit/4e9b6825687242ca60da50d3f6feed08714440a2</a></div><div><br></div><div>I have moved the generation of binary stream files directly to ./misc/record/ctf/. See above commit.</div><div><br></div><div>Blocker:</div><div><br></div><div>The packet.context is needed at the starting of the binary file(just after packet.header). The packet.context has timestamp_end which can be obtained after processing last record item but print_item() is already writing the record_item in the binary file. The same case is with packet_size and content_size. These two values can be obtained after processing the last record item in the file but we need at the starting of a binary file.</div><div><br></div><div>We need packet.context just after packet.header in the binary file. So as of now, I have just added cpu_id in packet.context on both client-side and metadata.</div><div><br></div><div><a href="https://github.com/rmeena840/rtems-tools/commit/95be3ec1787a48c6ff9cf6c078f83a9f6e4b9f1f">https://github.com/rmeena840/rtems-tools/commit/95be3ec1787a48c6ff9cf6c078f83a9f6e4b9f1f</a><br></div><div><br></div><div><a href="https://github.com/rmeena840/rtems-tools/commit/96a2f658e2bd36e21dd3f304ac10e2c6fe345a17">https://github.com/rmeena840/rtems-tools/commit/96a2f658e2bd36e21dd3f304ac10e2c6fe345a17</a><br></div><div><br></div><div>It has no warnings.</div><div><br></div><div>I have one approach for it. We can try the buffer approach for it. Just write the file packet.header and packet.context in a new binary file and append the old file content in a new file.<br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="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></div>