[lttng-dev] Getting started with lttng

Jérémie Galarneau jeremie.galarneau at efficios.com
Mon Apr 28 07:16:27 EDT 2014


On Fri, Apr 25, 2014 at 3:38 PM, Chaitannya Mahatme
<chaitannya at gmail.com> wrote:
> Hello Everyone,
>
> I have recently  installed lttng on my machine .. (Ubuntu 12.04)
> It's a fresh instalation on vmware. Every thing runs fine expect that
> no trace information is captured. What can be the issue?

How did you install LTTng? Did you use your ditribution's packages,
the PPAs or a tarball?
Which version are you using?

>
> lttng enable-event sched_switch,sched_process_fork -k
> lttng start
> lttng stop
> babeltrace lttng-traces/mysession-20140425-235804/
>
> There is no output here.
>
> du -h lttng-traces/mysession-20140425-235804/
>
> 8.0K    lttng-traces/mysession-20140425-235804/kernel/index
> 20K     lttng-traces/mysession-20140425-235804/kernel
> 24K     lttng-traces/mysession-20140425-235804/
>
> o/p of uname -a
> Linux ubuntu 3.2.0-23-generic-pae #36-Ubuntu SMP Tue Apr 10 22:19:09
> UTC 2012 i686 athlon i386 GNU/Linux
>
> What can be the issue ?

How did you create your session? Also, do you have an lttng-sessiond
running as root?

Also, make sure your user is part of the tracing group.

Thanks
Jérémie

> --
> Cheers !!!
> Chaitannya
>
> follow me on twitter http://twitter.com/chaitannya
> --
> I believe there's a hero in all of us who keeps us honest, gives us
> strength, makes us noble, and finally allows us to die with pride,
> even though sometimes we have to be steady, and give up the thing we
> want the most... even our dreams.
> - Spider Man 2
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev



-- 
Jérémie Galarneau
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list