Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] FW: Java code for CTF trace writing?

Hi Erik,

Typically, you would have one trace for your kernel events, and a
separate one from the Java parser.

In TMF, you can open multiple traces at the same time in what we call
experiments. This allows you to see events coming from different traces
in the same list.

With regards to trace synchronization, an initial synchronization
infrastructure was submitted at https://git.eclipse.org/r/#/c/10869/ .
If you have events in both your kernel and your Java trace that can be
used to synchronize them together, it could be hooked into this
infrastructure. We are hoping to merge it shortly after the Kepler release.

Cheers,
Alexandre


On 13-05-06 10:37 AM, Ostermueller, Erik wrote:
>
> -----Original Message-----
> From: Ostermueller, Erik [mailto:Erik.Ostermueller@xxxxxxxxxxxxx] 
> Sent: Monday, May 06, 2013 9:34 AM
> To: Aaron Spear; Matthew Khouzam
> Cc: Philippe Proulx; Dominique Toupin; lttng-dev@xxxxxxxxxxxxxxx; Linux Tools developer discussions
> Subject: Re: [lttng-dev] Java code for CTF trace writing?
>
> Hello all,
>
> I've got a question about the Java code that writes CTF traces.
> Would this design provide a single trace with Java events and OS events in the same trace?
> Here is an example:
>
> Consider an all-Java program that sends an XML requests request over HTTP.
> Would like the trace detail to show Java method activity as well as OS activity that opens/closes the socket.
>
> This could be very helpful for unveiling the details of how Java code consumes hardware resources.
>
> Thanks,
> --Erik
>
> -----Original Message-----
> From: Aaron Spear [mailto:aspear@xxxxxxxxxx]
> Sent: Tuesday, April 23, 2013 3:51 PM
> To: Matthew Khouzam
> Cc: Philippe Proulx; Dominique Toupin; lttng-dev@xxxxxxxxxxxxxxx; Linux Tools developer discussions
> Subject: Re: [lttng-dev] Java code for CTF trace writing?
>
>> When would you be available to work on this feature, I would love to 
>> sync up our efforts for this.
> The way things look right now, I will have bandwidth for it in another month, so middle to end of May. Perhaps sooner if all the stars align.
>
> Aaron



Back to the top