From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fredrik_Oestman@mentor.com (Oestman, Fredrik) Date: Fri, 20 Apr 2012 12:17:07 +0000 Subject: [lttng-dev] babeltrace-log In-Reply-To: <20120418235138.GB14058@Krystal> References: <20120418235138.GB14058@Krystal> Message-ID: <524C960C5DFC794E82BE548D825F05CF29FBE8@EU-MBX-04.mgc.mentorg.com> Mathieu Desnoyers wrote: > The "babeltrace-log" command converts from a text log to a CTF trace. I did this: $ babeltrace --no-delta --clock-seconds --clock-raw combined > combined.log $ babeltrace-log combined_new < combined.log $ babeltrace --no-delta --clock-seconds --clock-raw combined_new > combined_new.log [error] Invalid magic number 0x2BCAB7F7 at packet 196 (file offset 6422528). [error] Open file stream error. [warning] [Context] Cannot open_trace of the format combined.ctf . [warning] [Context] opening trace "combined.ctf" from combined.ctf for reading. Am I doing something obviously wrong, or is just a bit more care needed when using babeltrace-log? "combined" is a trace containing events in both kernel and ust domains. Cheers, Fredrik ?stman