[lttng-dev] Which function/file allows babeltrace to print the logs?

Philippe Proulx eeppeliteloop at gmail.com
Sun Jun 5 15:48:37 UTC 2016


On Fri, Jun 3, 2016 at 12:29 AM, Ojas Shirekar <ojas.shirekar at gmail.com> wrote:
>
> In which file is the function that allows babeltrace to print the CTF logs to STDOUT?
> I am asking this because I need to modify it so that I can get JSON output, and also because I am new to babeltrace.

This will certainly be a trivial feature to implement once the
plugin-based Babeltrace 2 is released!

In the meantime: the printing happens here:
https://github.com/efficios/babeltrace/tree/master/formats/ctf-text.

Phil

>
> Thank you for the help.
> -Ojas Shirekar
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>


More information about the lttng-dev mailing list