lttng-dev.lists.lttng.org archive mirror
 help / color / mirror / Atom feed
* Re: CTF writer in Java
       [not found] <34675397.591240.1557142800147.JavaMail.zimbra@univ-pau.fr>
@ 2019-05-06 13:26 ` Jonathan Rajotte-Julien
       [not found] ` <20190506132639.GA12560@joraj-alpa>
  1 sibling, 0 replies; 3+ messages in thread
From: Jonathan Rajotte-Julien @ 2019-05-06 13:26 UTC (permalink / raw)
  To: Lea Brunschwig; +Cc: lttng-dev

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


-- 
Jonathan Rajotte-Julien
EfficiOS

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CTF writer in Java
       [not found] ` <20190506132639.GA12560@joraj-alpa>
@ 2019-09-06 17:22   ` Matthew Khouzam via lttng-dev
  0 siblings, 0 replies; 3+ messages in thread
From: Matthew Khouzam via lttng-dev @ 2019-09-06 17:22 UTC (permalink / raw)
  To: Jonathan Rajotte-Julien, Lea Brunschwig; +Cc: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 2447 bytes --]

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@lists.lttng.org> on behalf of Jonathan Rajotte-Julien <jonathan.rajotte-julien@efficios.com>
Sent: Monday, May 6, 2019 9:26 AM
To: Lea Brunschwig <lea.brunschwig@univ-pau.fr>
Cc: lttng-dev@lists.lttng.org <lttng-dev@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@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@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

[-- Attachment #1.2: Type: text/html, Size: 4416 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 3+ messages in thread

* CTF writer in Java
@ 2019-05-06 11:40 Lea Brunschwig
  0 siblings, 0 replies; 3+ messages in thread
From: Lea Brunschwig @ 2019-05-06 11:40 UTC (permalink / raw)
  To: lttng-dev


[-- Attachment #1.1: Type: text/plain, Size: 847 bytes --]

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? 

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 

[-- Attachment #1.2: Type: text/html, Size: 995 bytes --]

[-- Attachment #2: Type: text/plain, Size: 156 bytes --]

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-09-06 17:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <34675397.591240.1557142800147.JavaMail.zimbra@univ-pau.fr>
2019-05-06 13:26 ` CTF writer in Java Jonathan Rajotte-Julien
     [not found] ` <20190506132639.GA12560@joraj-alpa>
2019-09-06 17:22   ` Matthew Khouzam via lttng-dev
2019-05-06 11:40 Lea Brunschwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).