> > 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. > Yes. That's what I am trying today. You suggested that I have to convert client_item(see below) typedef struct client_item { union { SLIST_ENTRY( client_item ) free_node; RB_ENTRY( client_item ) active_node; }; uint64_t ns; uint32_t cpu; rtems_record_event event; uint64_t data; uint64_t counter; } client_item;
to typedef struct ctf_event { uint64_t ns; uint32_t cpu; rtems_record_event event; uint64_t data; uint64_t counter; } ctf_event; I did that but rtems-tools build is failing because I think some part of the codebase is dependent on union { SLIST_ENTRY( client_item ) free_node; RB_ENTRY( client_item ) active_node; }; How should I deal with it? -- *Ravindra Kumar Meena*, B. Tech. Computer Science and Engineering, Indian Institute of Technology (Indian School of Mines) <https://www.iitism.ac.in/>, Dhanbad
_______________________________________________ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel