Event Recording/CTF: Get closer to LTTNG output

Ravindra Kumar Meena rmeena840 at gmail.com
Thu Jul 11 13:59:13 UTC 2019


>
> >                      uint8_t  uuid[16];
>
> Why don't you simply use the above in your C code as well?
>
Yes. I tried that but compiler reports the value is too large.
../misc/record/record-main.c:357:27: warning: integer constant is too large
for its type
     ctf_header.uuid[16] = 0x6a7715d0b5024c6586786777ac7f755a;

>
> >                      uint32_t stream_id;
> >                      uint64_t stream_instance_id;
> >              };
> >     };
> >
> > I have added the ctf magic(0xC1FC1FC1) in header. I am facing difficulty
> > in adding uuid in header. uuid is 128 a bit number which has 5 octets of
> > 8-4-4-4-12 bytes.
> [...]
>


-- 
*Ravindra Kumar Meena*,
B. Tech. Computer Science and Engineering,
Indian Institute of Technology (Indian School of Mines)
<https://www.iitism.ac.in/>, Dhanbad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20190711/54fac877/attachment-0002.html>


More information about the devel mailing list