[PATCH] Write event stream in file

Ravindra Kumar Meena rmeena840 at gmail.com
Fri Jun 21 14:49:59 UTC 2019


>
> > I tried to parse the event stream file and metadata file through
> > babeltrace gives the following error:
> >
> > [error] Invalid magic number 0x30302E30 at packet 0 (file offset 0).
> > [error] Stream index creation error.
> > [error] Open file stream error.
> > [warning] [Context] Cannot open_trace of format ctf at path ctf.
> > [warning] [Context] cannot open trace "ctf" from ctf/ for reading.
> > [error] Cannot open any trace for reading.
> >
> > [error] opening trace "ctf/" for reading.
> >
> > [error] none of the specified trace paths could be opened.
> >
> > I think the metadata file is not compatible with event stream generated.
>
> Yes, indeed. I also think that the metadata doesn't describe the event
> stream. The metadata should describe the struct ctf_item.
>
Yes. It needs research. I am not sure how I can make event stream generated
compatible with metadata. I have raised a query for the same on lttng.


-- 
*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/20190621/859274b5/attachment-0002.html>


More information about the devel mailing list