Hi,
babeltrace-log is just a small tool that "wraps" a text file in CTF. It
is not a lossless conversion back to CTF format from a babeltrace
output. To do that, you would need to do something like:
$ babeltrace -i text -o ctf ...
but that is not supported yet.
So it's expected that the initial CTF file and the one after conversion
are not exactly the same. Everything will get dumped into the payload,
among other things.
Cheers,
Alexandre
On 2014-11-11 12:26 AM, Divya Vyas wrote:
Hi ,
I am Converting the LTTng ouput ( I think this is in CTF format ) into a
text log using below command :
babeltrace trace-20141016-071352-kernel/ > text_output
The text_output first line is
[12:44:05.438190693] (+?.?????????) kmem_cache_alloc: { cpu_id = 0 }, {
call_site = 0xFFFFFFFF811806FC, ptr = 0xFFFF8800157248C0, bytes_req = 304,
bytes_alloc = 320, gfp_flags = 32976 }
missing timestamp
Again I am trying to convert into CTF using babeltrace-log
cat text_output | babeltrace-log -t ctf_output
The output of LTTng output and ctf_ouput should be same in eclipse trace
viewer but I am not able to see ctf_output correctly .
I am not sure whether My steps are wrong?
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev