[lttng-dev] babeltrace-log

Oestman, Fredrik Fredrik_Oestman at mentor.com
Fri Apr 20 08:17:07 EDT 2012


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




More information about the lttng-dev mailing list