[ltt-dev] Using LTTng on DA8xx Target

Mathieu Desnoyers compudj at krystal.dyndns.org
Tue Nov 11 23:34:46 EST 2008


If you already have a kernel with the LTTng patches applied, it probably
comes from your distro. You should have a look at your distro-specific
documentation to see if they provide some info about the specific LTTng
version they use.  But yes, all the pointers Pierre-Marc told you about
should help you getting started.

Mathieu

* saumya agarwal (cmks2002 at gmail.com) wrote:
> Thanks Marc, this info should get me started.
> 
> My host linux machine has a different kernel version (2.6.9), so do I
> need LTTV compatible with host or target?
> In DA8xx kernel sources, I see a folder named LTT which has some
> source files like ltt-control.c, ltt-core.c etc, so does that mean
> that LTT control tools are already available in the kernel?
> 
> --Saumya
> 
> 
> On 11/12/08, Pierre-Marc Fournier <pierre-marc.fournier at polymtl.ca> wrote:
> > Hello Saumya,
> >
> > saumya agarwal wrote:
> > > I am using a DA8xx Primus EVM and I want to use LTTng to trace the
> > > system. The  kernel supports LTTng.
> > > This is the first time I'll am working on it.
> > >
> > > I downloaded TraceToolkit-0.9.5 and untared it.
> > > The patched I am getting are:
> > > patch-ltt-linux-2.4.16-rthal5f-020415-1.14
> > > patch-ltt-linux-2.4.16-s390-020422-1.14
> > > patch-ltt-linux-2.4.16-vanilla-020415-1.14
> > > patch-ltt-linux-2.5.7-vanilla-020415-1.14
> > > patch-ltt-rtai-24.1.8-020317-1.14
> > >
> >
> > Hmm, I don't know where you got this patch, but it is several years old.
> > Please see the site http://ltt.polymtl.ca
> > Have a look at the Compatibility list ("LTTng+LTTV versions
> > compatibility" link) to see what you need for a 2.6.18 kernel. You
> > probably need LTTng 0.6.41, ltt-control 0.30 and LTTV (the viewer)
> > 0.8.72. You will also find the quickstart guide there which will help
> > get you started.
> >
> > Note that since 2.6.18 is an old kernel. A lot of things changed since
> > that time and the quickstart guide that is on the site now will not be
> > in sync with this old version. I would recommend fetching the old guide
> > from the svn repository.
> >
> > > But the linux kernel version for DA8xx is 2.6.18.
> > > So can I use any of these patches?
> >
> > No, you need a much newer version of LTTng that was designed for 2.6.18.
> >
> > >
> > > One more doubt I had was, that we use this tool from host or on
> > > target? Do I need a linux host machine, apply patches to its kernel,
> > > and reboot it and then start using it OR I need to apply patches to my
> > > DA8xx kernel and then start tracing on target itself?
> >
> > You install the patches on the target kernel. You also need the
> > ltt-control tools on the target to control the tracing. You need to have
> > enough disk space on the target to record the trace. Work on streaming
> > is under way. Once you have the trace, you transfer it to the host and
> > inspect it with LTTV.
> >
> > >
> > > I am kind of confused about its usage.
> > > Could any one help me out with the exact procedure for using LTTng and
> > > patches version (website) from where I can get required packages?
> >
> > Look at ltt.polymtl.ca and the quickstart guide.
> >
> > pmf
> >
> 
> _______________________________________________
> 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




More information about the lttng-dev mailing list