<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"><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">Why don't you simply use the above in your C code as well?<br></blockquote><div>Yes. I tried that but compiler reports the value is too large. </div><div>../misc/record/record-main.c:357:27: warning: integer constant is too large for its type<br>     ctf_header.uuid[16] = 0x6a7715d0b5024c6586786777ac7f755a;</div></div></div></blockquote><div><br></div><div>Okay. I was thinking in the wrong direction. I have now added uuid also in the stream header.</div><div><br></div><div><a href="https://github.com/rmeena840/rtems-tools/commit/fa17148220dfd9a1df1f3d8cfad0b4afd19c331f">https://github.com/rmeena840/rtems-tools/commit/fa17148220dfd9a1df1f3d8cfad0b4afd19c331f</a><br></div><div><br></div><div><a href="https://github.com/rmeena840/rtems-tools/commit/05dbb29c72a5cceee054a996a8e799520d7b2817">https://github.com/rmeena840/rtems-tools/commit/05dbb29c72a5cceee054a996a8e799520d7b2817</a><br></div><div><br></div><div>Tested on AWS. No warnings.</div><div><br></div><div>In the packet.header you mentioned to added stream_instance_id. See below.</div><div>What is it? In the documentation it is mentioned that packet.header can only contain three values(magic, uuid, stream_id).</div><div><br></div><div>trace {<br>        major = 1;<br>        minor = 8;<br>        uuid = "6a7715d0-b502-4c65-8678-6777ac7f755a";<br>        byte_order = le;<br>        packet.header := struct {<br>                uint32_t magic;<br>                uint8_t  uuid[16];<br>                uint32_t stream_id;<br>                uint64_t stream_instance_id;<br>        };<br>};<br></div></div><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>