[ltt-dev] LTTng internals document

Mathieu Desnoyers compudj at krystal.dyndns.org
Mon Aug 4 10:57:15 EDT 2008


* Umashankar V.K. (shankar.vk at gmail.com) wrote:
> Hi,
> 
> I  can see that the ( major , minor ) version  in  ltt-core.c  is   0,7.
> Is this what you are referring to ?
> 
> I  have seen the  compatibility list.   I am using
> ltt-control-0.50-17072008.
> 
> Also,  I want to know  why do  you  package   the 3 files  ( ltt-control.c
> ltt-control.h  ltt-statedump.c )
> separately  as  ltt-modules  in the  repository  ?
> 
> I  greped  for   /proc  APIs  in  LTT source files,  but could not find any
> .  Anyway ,  I am reading the code now.
> 
> The  version of LTT  I am  using came  pre-included with vendor-supplied
> kernel code.
> 

Then you should use the ltt-control, lttv and other packages supplied by
your vendor. Don't expect latest versions to work as-is because there
are API changes between the versions.

Mathieu

>                                     shankar
> 
> 
> 
> 
> 
> 
> On Wed, Jul 30, 2008 at 8:29 PM, Mathieu Desnoyers <
> compudj at krystal.dyndns.org> wrote:
> 
> > Which version of LTTng is it based on ?
> >
> > Have you made sure you follow the compatibility list on
> > http://ltt.polymtl.ca ?
> >
> > Given the APIs are not casted in stone and will likely change with
> > integration to the Linux kernel, the comments at the beginning of the
> > patches is probably the best reference. Also, going through the papers
> > found on the website will give you an idea of the overall design.
> >
> > Mathieu
> >
> >
> > * Umashankar V.K. (shankar.vk at gmail.com) wrote:
> > > Hi,
> > >
> > >      I am trying out  LTTng on MIPS 4K with Linux 2.6.14.
> > >
> > > I find that  /proc/ltt is not getting created even after I insmod
> > > ltt-control.ko, ltt-statedump.ko and ltt-core.ko. ( The build has created
> > > only 3 LTT modules. The facilities are built into the kernel. )
> > >
> > > ( ltt-armall script is trying to read /proc/ltt. )
> > >
> > > To debug this, I am going through the code of LTTng, to get a basic
> > > understanding.
> > >
> > > I  want to know if anybody has written a document on the internals/design
> > of
> > > this tool.  If not, would someone please do so ?
> > >
> > >                     Umashankar
> >
> > > _______________________________________________
> > > ltt-dev mailing list
> > > ltt-dev at lists.casi.polymtl.ca
> > > http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev
> >
> >
> > --
> > Mathieu Desnoyers
> > OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
> >

-- 
Mathieu Desnoyers
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68




More information about the lttng-dev mailing list