[lttng-dev] CTF writer in Java

Matthew Khouzam matthew.khouzam at ericsson.com
Fri Sep 6 13:22:18 EDT 2019


Hi Lea,

Trace Compass has some branches that try out CTF writing, I would like to know, are you looking to trace your execution (JUL log into LTTng is the best answer there) or do you want to output results of a simulation to CTF? in that case, maybe we can help.

Matthew
________________________________
From: lttng-dev <lttng-dev-bounces at lists.lttng.org> on behalf of Jonathan Rajotte-Julien <jonathan.rajotte-julien at efficios.com>
Sent: Monday, May 6, 2019 9:26 AM
To: Lea Brunschwig <lea.brunschwig at univ-pau.fr>
Cc: lttng-dev at lists.lttng.org <lttng-dev at lists.lttng.org>
Subject: Re: [lttng-dev] CTF writer in Java

Hi Lea,

On Mon, May 06, 2019 at 01:40:00PM +0200, Lea Brunschwig wrote:
> Hello,
>
> I am working on a Java API that permits to create UML state machine and to run
> them. I have created a Java interface allowing to implement customizable trace
> for this tool: the user can implement its own way to gather information from
> the execution for instance print in the console via System.out.println() or
> print in a xml file, etc...
>
> In the scope of the project I am working on I would like to provide the users
> a Java class implemeting my interface with the CTF format but I can not manage
> to find a code able to write a CTF trace in Java. Does such a code exist?

lttng-ust provides JUL and log4j java agents that leverage the current lttng stack.

https://protect2.fireeye.com/url?k=17ffaa63-4b767024-17ffeaf8-0cc47ad93e96-93494158a8a39a6e&u=https://lttng.org/docs/v2.10/#doc-java-application

We do not provide a Java CTF writer as is AFAIK.

Cheers.

>
> Since CTF traces seem to be really specific I do not want to intent to write
> my own version of a CTF trace because I am scared it would not be accurate and
> would not work with the already existing CTF readers.
>
> Thank you in advance.
> Léa Brunschwig

> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> https://protect2.fireeye.com/url?k=d7cdd732-8b440d75-d7cd97a9-0cc47ad93e96-efdf3fabe4e12a0a&u=https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


--
Jonathan Rajotte-Julien
EfficiOS
_______________________________________________
lttng-dev mailing list
lttng-dev at lists.lttng.org
https://protect2.fireeye.com/url?k=2d4debf7-71c431b0-2d4dab6c-0cc47ad93e96-b75580c67b316f90&u=https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20190906/3877688a/attachment.html>


More information about the lttng-dev mailing list