Hi! I am glad to announce that Babeltrace now works to convert between a text log format (e.g. including dmesg with [sec.usec] string) and CTF.
e.g.: To convert from dmesg output to CTF (the "-t" means "with timestamps"): % dmesg | babeltrace-log -t filename % ls filename/ datastream metadata To convert from CTF to text: % babeltrace filename [...] 1974320298 (0x75ADBCAA) iwlagn 0000:02:00.0: Microcode SW error detected. Restarting 0x2000000. 1974320304 (0x75ADBCB0) iwlagn 0000:02:00.0: Loaded firmware version: 9.193.4.1 build 19710 1974320321 (0x75ADBCC1) iwlagn 0000:02:00.0: Start IWL Error Log Dump: 1974320325 (0x75ADBCC5) iwlagn 0000:02:00.0: Status: 0x000212E4, count: 5 1974320477 (0x75ADBD5D) [...] You can try babeltrace -h for help. Source available with (see README file): git clone git://git.efficios.com/babeltrace.git Comments are welcome. Please note that the text output pretty-printing is not entirely pretty as it is now (event names are not printed, nor are field names). It should come soon. Thanks, Mathieu -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com _______________________________________________ ltt-dev mailing list [email protected] http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
