<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">> 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>
><br>
> In the above what does stream_instance_id does? In CTF documentation [1] it looks like packet.header can contain three values(magic, uuid, stream_id) then what is stream_instance_id?<br>
<br>
This is the ID of the stream itself, whereas `stream_id` is in fact the<br>
ID of the class or type of stream. Many streams (one per CPU, for<br>
example) can share the same stream class ID (`stream_id`), but have<br>
different stream IDs (`stream_instance_id`).</blockquote><div> </div><div>Okay. This was very helpful. I have a doubt about packet.context.</div><div><br></div><div>struct packet_context {<br>   uint64_clock_monotonic_t timestamp_begin;<br>     uint64_clock_monotonic_t timestamp_end;<br>       uint64_t content_size;<br>        uint64_t packet_size;<br> uint64_t packet_seq_num;<br>      unsigned long events_discarded;<br>       uint32_t cpu_id;<br>};<br></div><div><br></div><div>In CTF documentation information is provided about all packet.context members except for packet_seq_num and events_discarded. Some of them just have the name on CTF documentation.</div><div><br></div><div>What are these two variables(packet_seq_num and events_discarded)?</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
><br>
> Please attend this ASAP<br>
<br>
Was that turnaround time good enough for you?<br></blockquote><div>Thanks for helping me out. I am GSoC 2019 student at RTEMS. I have been assigned a few tasks which I have to complete before 22nd July. The 2nd evaluation will begin on 22nd July.</div><div>That's why I am in a rush. :) :)</div></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-8678806957642640150gmail_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>