Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: noam@lifeonair.com (Noam Cohen)
Subject: [lttng-dev] problem running/installing lttng on ubuntu 16.04
Date: Wed, 17 Aug 2016 13:25:48 +0300	[thread overview]
Message-ID: <CAKH_oXJ+20uS1d1S71JLbYkPO9+Cx=3v4-+Ss_jbj7rnUzp8_w@mail.gmail.com> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 2140 bytes --]

Hello
I installed lttng on my ubuntu, and tried the "getting Started".


I ran the helloWorld, and then
$ lttng list --userspace
Error: Unable to list UST events: No session daemon is available
Error: Command error

Waited a minute and retried, and now the output was as expected.
$ lttng list --userspace
UST events:
-------------

PID: 17386 - Name: ./hello
      lttng_ust_tracelog:TRACE_DEBUG (loglevel: TRACE_DEBUG (14)) (type:
tracepoint)
      < SNIP >
      hello_world:my_first_tracepoint (loglevel: TRACE_DEBUG_LINE (13))
(type: tracepoint)

**Is it normal behavior?*


Then,
$ lttng create
Session auto-20160817-132123 created.
Traces will be written in /home/noam/lttng-traces/auto-20160817-132123
noam at noam-nuc:~/tmp/lttng$ lttng enable-event --userspace
hello_world:my_first_tracepoint
Error: Event hello_world:my_first_tracepoint: UST create channel failed
(channel channel0, session auto-20160817-132123)

How do I solve it?
---------------------
system properties:

noam at noam-nuc:~$ ps -ef | grep lttng
noam     17410 17398  0 13:18 pts/3    00:00:00 lttng-sessiond -vvv
noam     17411 17410  0 13:18 pts/3    00:00:00 lttng-runas    -vvv
noam     17442 17410  0 13:21 pts/3    00:00:00 lttng-consumerd  -u
--consumerd-cmd-sock /home/noam/.lttng/ustconsumerd64/command
--consumerd-err-sock /home/noam/.lttng/ustconsumerd64/error --group tracing
noam     17444 17442  0 13:21 pts/3    00:00:00 lttng-runas      -u
--consumerd-cmd-sock /home/noam/.lttng/ustconsumerd64/command
--consumerd-err-sock /home/noam/.lttng/ustconsumerd64/error --group tracing
noam     17480 17467  0 13:22 pts/7    00:00:00 grep --color=auto lttng
noam at noam-nuc:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial


Installed lttng using:
sudo apt-get install lttng-tools lttng-modules-dkms liblttng-ust-dev


$ lttng --version
lttng (LTTng Trace Control) 2.7.1 - Herbe à Détourne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20160817/f3339dec/attachment.html>


             reply	other threads:[~2016-08-17 10:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-17 10:25 Noam Cohen [this message]
2016-08-22 18:25 ` Jonathan Rajotte Julien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAKH_oXJ+20uS1d1S71JLbYkPO9+Cx=3v4-+Ss_jbj7rnUzp8_w@mail.gmail.com' \
    --to=noam@lifeonair.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox