<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 5, 2015 at 8:58 AM, Neil Bryan <span dir="ltr"><<a href="mailto:Neil.Bryan@ttp.com" target="_blank">Neil.Bryan@ttp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<div>
<div>
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">From my first post:</span> <u></u><u></u></p><span class="">
<p class="MsoNormal">If I try and parse recovered traces using Babeltrace, it fails with a segmentation fault.
<u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:'Courier New'">nbryan@meteorubuntu-OptiPlex-7010:/data/nbryan/Meteor/altera_trace$ babeltrace --help</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:'Courier New'">BabelTrace Trace Viewer and Converter 1.0.0-rc1</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-family:'Courier New'">nbryan@meteorubuntu-OptiPlex-7010:/data/nbryan/Meteor/altera_trace$ babeltrace auto-20150304-091109/</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-family:'Courier New'">Segmentation fault (core dumped)<u></u><u></u></span></p>
</span><p class="MsoNormal"><span style="color:rgb(31,73,125)">I downloaded, built and installed this version:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">nbryan@meteorubuntu-OptiPlex-7010:/data/nbryan/Meteor/altera_trace$ babeltrace --help<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">BabelTrace Trace Viewer and Converter 1.2.4<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">And it now parses the captured traces. This is interesting as maybe the metadata is well-formed after all!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">I shall now investigate the Eclipse-side of things.<u></u><u></u></span></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> </p></div></div></div></blockquote><div><br></div><div>Glad to know it all worked out!</div><div><br></div><div>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.</div><div><br></div><div>Jérémie<br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div lang="EN-US" link="blue" vlink="purple"><div><div><p class="MsoNormal"><u></u></p>
</div>
</div>
</div>

<br>_______________________________________________<br>
lttng-dev mailing list<br>
<a href="mailto:lttng-dev@lists.lttng.org">lttng-dev@lists.lttng.org</a><br>
<a href="http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev" target="_blank">http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Jérémie Galarneau<br>EfficiOS Inc.<br><a href="http://www.efficios.com" target="_blank">http://www.efficios.com</a></div>
</div></div>