Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] TMF

Yes it is. CTF is an efficient trace format (based on research done for LTTng) that can be used for essentially anything (kernel, user-space, hardware, ...) 

We will also provide a CTF parser with Juno (we have a few wrinkle to iron out but it is practically ready for a CQ). It should appear in HEAD (well, 'master') shortly.

Although TMF and LTTng will have a dependency on it, this CTF parser generator will be a component on its own that can be re-used without the rest (event without Eclipse...)

Regards,
/fc


On Mon, Jan 23, 2012 at 9:28 AM, Xavier Raynaud <xavier.raynaud@xxxxxxxxx> wrote:
Hi,

Excellent.
I've read somewhere that one CTF objective is to be system-agnostic (even if, for now, focused only on linux). Is it still true ?

Many thanks,
Xavier




On 01/23/2012 03:21 PM, Francois Chouinard wrote:
Hi,

You can start by looking at TMF itself. Some if not most of the LTTng
views/widgets are really generic TMF views/widgets that have been
extended for LTTng purposes.

For the context-switching et al., we initially simply ported the
GTK-based LTTV's State System (the component that handles the
processes/resources state transitions based on the events sequence).
This State System is really Linux kernel-oriented.

We are now working on a persistent generic State System (a part of TMF
itself) that will be re-usable for any type of state management. It
should be integrated in the coming months and delivered with Juno. You
might want to consider basing your work on this. Constraint: Although
the new State System will be trace-format agnostic, for the initial
release we are likely to focus on CTF (Common Trace Format) traces.

Don't hesitate to contact us for more details.

Regards,
/fc


On Mon, Jan 23, 2012 at 3:39 AM, Xavier Raynaud
<xavier.raynaud@xxxxxxxxx <mailto:xavier.raynaud@kalray.eu>> wrote:

   Hi,

   In the coming weeks, I will start to design a GUI to display traces
   for a massively parallel device.

   My first idea was to use TMF for that - and do something similar to
   the LTT-ng plugin.

   For now, this device does not run linux, but the traced event will
   be very similar (context-switches, interrupts, user events...)

   Is there any hint available somewhere, or any trap to avoid ?

   Many thanks,

   Xavier Raynaud
   _________________________________________________
   linuxtools-dev mailing list
   linuxtools-dev@xxxxxxxxxxx <mailto:linuxtools-dev@eclipse.org>
   https://dev.eclipse.org/__mailman/listinfo/linuxtools-__dev
   <https://dev.eclipse.org/mailman/listinfo/linuxtools-dev>




--
Francois

_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev



--
Francois

Back to the top