[lttng-dev] Need help in converting trace data into CTF
Jonathan Rajotte-Julien
jonathan.rajotte-julien at efficios.com
Tue Jun 4 10:53:12 EDT 2019
> See this dmesg source plugin for a base example of a source plugin [1]. This is
> valid for babeltrace 2.0 only (AKA the current master branch of babeltrace)
>
> For a more complete example of a source plugin, you can take a look at the one for
> ctf [2]. Once a source plugin is done you will be able to reuse all the current
> infrastructure of babeltrace to output to ctf (ctf.sink).
>
> There is no magic solution here, you will need to write a decoder (source
> plugin) for your format.
>
> [1] https://github.com/efficios/babeltrace/tree/master/plugins/text/dmesg
For all the people coming here from the future:
[1] http://git.efficios.com/?p=babeltrace.git;a=tree;f=plugins/text/dmesg;h=a45918aaf266dac29db6f7a0e4d08ffdb056131a
> [2] https://github.com/efficios/babeltrace/tree/master/plugins/ctf/fs-src
[2] http://git.efficios.com/?p=babeltrace.git;a=tree;f=plugins/ctf/fs-sink;h=b96b435706cac0ed50cb64918603172b67afc424
More information about the lttng-dev
mailing list