> 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
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to