<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 style="font-family:arial,helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><div>This is very good news. Writing the event stream is the easy part. Just fwrite() the events in the modified print_item(). Your TSDL in the metadata file must describe this event stream.<br></div></div></blockquote><div>Yes. That's what I am trying today. You suggested that I have to convert client_item(see below) </div><div>typedef struct client_item {<br>  union {<br>    SLIST_ENTRY( client_item ) free_node;<br>    RB_ENTRY( client_item )    active_node;<br>  };<br>  uint64_t                     ns;<br>  uint32_t                     cpu;<br>  rtems_record_event           event;<br>  uint64_t                     data;<br>  uint64_t                     counter;<br>} client_item;<br></div><div><br></div><div>to</div><div><br></div><div>typedef struct ctf_event {<br>  uint64_t                     ns;<br>  uint32_t                     cpu;<br>  rtems_record_event           event;<br>  uint64_t                     data;<br>  uint64_t                     counter;<br>} ctf_event;<br></div><div><br></div><div>I did that but rtems-tools build is failing because I think some part of the codebase is dependent on </div></div><div>union {<br>    SLIST_ENTRY( client_item ) free_node;<br>    RB_ENTRY( client_item )    active_node;<br>  };<br></div><div><br></div><div>How should I deal with it?</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>