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

Jan Glauber jan.glauber at gmail.com
Fri Apr 19 06:20:28 EDT 2013


Hi list,

I've written a converter that can read LTT's 2.6 trace format and convert it
to a CTF trace format. This was discussed before on the list:

http://lists.lttng.org/pipermail/lttng-dev/2011-June/015995.html

and I roughly followed the guidance given by Mathieu there. Roughly because
I did not create plugins but followed the approach of babeltrace-log.

How it works:
- babeltrace legacy converter gets a directory containing a LTT 2.6 trace
  and a target directory where it will create the converted trace
- it scans the metadata_N files and creates a CTF which fits the old trace data
- it scans all trace files and creates CTF headers but copies the trace data
- empty files which contain only headers are not copied

Is there any interest in picking up this code for babeltrace (or is it just
too obscure :) ?

Best regards,

Jan Glauber
Harman Becker Automotive GmbH
System Profiling & Optimizing Team

Jan Glauber (2):
  Resurrect LTT type parser
  babeltrace legacy LTT 2.6 -> CTF 1.8 converter

 converter/babeltrace-legacy.c        | 1184 ++++++++++++++++++++++++++++++++++
 converter/ltt-type-parser.c          |  303 +++++++++
 include/babeltrace/ltt-type-parser.h |   17 +
 3 files changed, 1504 insertions(+)
 create mode 100644 converter/babeltrace-legacy.c
 create mode 100644 converter/ltt-type-parser.c
 create mode 100644 include/babeltrace/ltt-type-parser.h

-- 
1.7.9.5




More information about the lttng-dev mailing list