>
> Very good, please change now the format of the event header to the one
> used by LTTNG:
>
> struct event_header_compact {
>         enum : uint5_t { compact = 0 ... 30, extended = 31 } id;
>         variant <id> {
>                 struct {
>                         uint27_clock_monotonic_t timestamp;
>                 } compact;
>                 struct {
>                         uint32_t id;
>                         uint64_clock_monotonic_t timestamp;
>                 } extended;
>         } v;
> } align(8);
>

We need it in client-side also. I think C does not have variant data type.


-- 
*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

Reply via email to