<div dir="ltr"><div>Hi Sebastian,</div><div><br></div><div>I am in regular touch with Babeltrace community to figure out the solution for conversion of trace data into CTF. I came to the conclusion that current version 1.5.6 of Babeltrace does not have a feature to convert live trace stream into CTF(we already had a discussion about it). However, this feature is currently available in Babeltrace 2.0(master branch) but it is currently in pre-stage. </div><div><br></div><div>The approach they shared is that after post-processing phase to convert traces from some existing format to CTF we have to create a Babeltrace 2 source plugin which reads our trace format into the Babeltrace 2 intermediate representation by using the APIs exposed to plugins by Babeltrace 2. Babeltrace 2 has a generic CTF sink which can serialize the resulting trace intermediate representation into CTF.<br></div><div><br></div><div>The conversation I had between them in May is: <a href="https://lists.lttng.org/pipermail/lttng-dev/2019-May/028944.html">https://lists.lttng.org/pipermail/lttng-dev/2019-May/028944.html</a></div><div><br></div><div>and this months conversation is: <a href="https://lists.lttng.org/pipermail/lttng-dev/2019-June/029022.html">https://lists.lttng.org/pipermail/lttng-dev/2019-June/029022.html</a></div><div><br></div><div>Please have a look at the above thread. The community is very helpful they have even shared a decoder(source plugin) example(you can see them in the thread itself) which is necessary for whatever is produced as trace output to convert into CTF. I will have a look at it.</div><div><br></div><div>I also came to know that Trace Compass does not support live traces. It is made for post-mortem analyses, so it works only on complete trace. They briefly supported live traces a few years back, but that made the code much more complicated, so this support was dropped. TraceCompass is not made for trace monitoring!</div><div><br></div><div>You can view the whole conversation here(I did this during application period): <a href="https://lists.lttng.org/pipermail/lttng-dev/2019-March/028677.html">https://lists.lttng.org/pipermail/lttng-dev/2019-March/028677.html</a></div><div><br></div><div>So, in my point of view, we should stick with the post-processing method. We should store the traces in the disk and then convert it to CTF.</div><div><br></div><div>Thanks</div><div dir="ltr"><br></div>-- <br><div dir="ltr" class="m_4254912033339373515gmail_signature"><div dir="ltr"><div><div dir="ltr"><font size="4"><b>Ravindra Kumar Meena</b></font>,<div><span style="color:rgb(102,102,102)">B. Tech. Computer Science and Engineering,<br></span></div><div><span style="color:rgb(102,102,102)"><a href="https://www.iitism.ac.in/" style="color:rgb(17,85,204)" target="_blank">Indian Institute of Technology (Indian School of Mines)</a>, Dhanbad</span></div></div></div></div></div></div>