[lttng-dev] CTF writer in Java

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Mon May 6 09:26:39 EDT 2019


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://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://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev


-- 
Jonathan Rajotte-Julien
EfficiOS


More information about the lttng-dev mailing list