<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Aug 8, 2019 at 1:06 PM Ravindra Kumar Meena <<a href="mailto:rmeena840@gmail.com">rmeena840@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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">> Should I include whole metadata content in that char metadata[]?<br>
<br>
Yes, if everything is constant.<br></blockquote><div>Okay </div><div><a href="https://github.com/rmeena840/rtems-tools/commit/13c81bfb3a72dd777507f3bf92a96ec50ab7dd17" target="_blank">https://github.com/rmeena840/rtems-tools/commit/13c81bfb3a72dd777507f3bf92a96ec50ab7dd17</a> </div><div><br></div><div>At the end of the file fwrite() is writing some small binary data. I don't know why that is happening.</div><div>Because of this binary data at the end babeltrace is not able to read events.</div><div><br></div></div></div></blockquote><div>Fixed the issue: </div><div><a href="https://github.com/rmeena840/rtems-tools/commit/7d150f742a8ca44d719b10d314c5ba84187ac7fb">https://github.com/rmeena840/rtems-tools/commit/7d150f742a8ca44d719b10d314c5ba84187ac7fb</a> </div></div><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>