[lttng-dev] Getting started with UST

Aryeh Weinreb weinrea at gmail.com
Sun May 26 09:26:32 EDT 2013


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.

# 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



More information about the lttng-dev mailing list