[lttng-dev] [RFC PATCH 0/2] babeltrace legacy LTT 2.6 converter

Jan Glauber jan.glauber at gmail.com
Mon May 13 06:40:53 EDT 2013


On Mon, May 13, 2013 at 10:16:04AM +0400, Anna Dushistova wrote:
> Hi Jan,
> 
> I tried out your patch for the 2.6->ctf converter(
> http://lists.lttng.org/pipermail/lttng-dev/2013-April/020081.html)
> with the following trace:
> https://github.com/fchouinard/LTTng/blob/master/samples/trace-2.6-22K.tar.gz
> 
> from
> http://wiki.eclipse.org/Linux_Tools_Project/LTTng/User_Guide#Downloading_Sample_Tracesand
> it crashed
> with segmentation fault.

Hi Anna,

could it be that the tar file itself is in the trace directory when you run babeltrace-legacy?
I think I've only implemented rudimentary file checking, so the legacy converter assumes
all files in the directory belong to the trace. Please try removing any files that do not belong
to the trace.

That said, the converter should better check all files for the correct header...

Regards, Jan
 
> Anna.

-- 
Jan Glauber
---
Harman Becker Automotive GmbH
System Profiling & Optimizing Team



More information about the lttng-dev mailing list