[lttng-dev] LTTng 2.6.0: Corrupt metadata?

Jérémie Galarneau jeremie.galarneau at efficios.com
Thu Mar 5 11:50:21 EST 2015


On Thu, Mar 5, 2015 at 8:58 AM, Neil Bryan <Neil.Bryan at ttp.com> wrote:

>    From my first post:
>
> If I try and parse recovered traces using Babeltrace, it fails with a
> segmentation fault.
>
> nbryan at meteorubuntu-OptiPlex-7010:/data/nbryan/Meteor/altera_trace$
> babeltrace --help
>
> BabelTrace Trace Viewer and Converter 1.0.0-rc1
>
>
>
> nbryan at meteorubuntu-OptiPlex-7010:/data/nbryan/Meteor/altera_trace$
> babeltrace auto-20150304-091109/
>
> Segmentation fault (core dumped)
>
> I downloaded, built and installed this version:
>
> nbryan at meteorubuntu-OptiPlex-7010:/data/nbryan/Meteor/altera_trace$
> babeltrace --help
>
> BabelTrace Trace Viewer and Converter 1.2.4
>
> And it now parses the captured traces. This is interesting as maybe the
> metadata is well-formed after all!
>
> I shall now investigate the Eclipse-side of things.
>
>
>

Glad to know it all worked out!

To add to Glen's great explanation, the binary blobs you see mid-way in the
metadata file are padding + the next packet's header. The amount of padding
is the difference between the packet_size and the content_size.

Jérémie


>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>


-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150305/f04da87e/attachment.html>


More information about the lttng-dev mailing list