[lttng-dev] Getting started with UST

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Sun May 26 09:55:32 EDT 2013


* Aryeh Weinreb (weinrea at gmail.com) wrote:
> On Sun, May 26, 2013 at 4:10 PM, Yannick Brosseau
> <yannick.brosseau at gmail.com> wrote:
> > Hi,
> >
> > Did you forgot to enable some event, for example:
> > lttng enable-event -u -a
> > (For all userspace events)
> >
> 
> I did now, but I still can't get anything.

upgrade lttng-tools to 2.1.x. It's required along with lttng-ust 2.1.x.

Thanks,

Mathieu

> 
> # lttng list my_session
> Tracing session my_session: [active]
>     Trace path: /root/lttng-traces/my_session-20130526-074913
> 
> === Domain: UST global ===
> 
> Channels:
> -------------
> - channel0: [enabled]
> 
>     Attributes:
>       overwrite mode: 0
>       subbufers size: 4096
>       number of subbufers: 4
>       switch timer interval: 0
>       read timer interval: 200
>       output: mmap()
> 
>     Events:
>       * (type: tracepoint) [enabled]
> 
> 
> # ./sample
> 
> # lttng view
> Trace directory: /root/lttng-traces/my_session-20130526-074913
> 
> [error] Cannot open any trace for reading.
> 
> [error] opening trace "/root/lttng-traces/my_session-20130526-074913"
> for reading.
> 
> [error] none of the specified trace paths could be opened.
> 
> 
> # ls -l /root/lttng-traces/my_session-20130526-074913
> total 4
> drwxrwx--- 2 root root 4096 May 26 07:49 ust
> 
> # ls -l /root/lttng-traces/my_session-20130526-074913/ust/
> total 0
> 
> # lttng list -u
> UST events:
> -------------
> None
> 
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list