All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Marchi <simon.marchi@polymtl.ca>
To: Francis Rivest <francis.rivest13@gmail.com>
Cc: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: Re: No kernel tracer available
Date: Thu, 14 May 2015 11:30:16 -0400	[thread overview]
Message-ID: <CAFXXi0nWomHwkmgE7njmq3vv6PaGk4XiJ-GSo9ATxSda98RVOg__36127.2085262046$1431617572$gmane$org@mail.gmail.com> (raw)
In-Reply-To: <CAG4vvd4Fa2dWpWoO_sJqm+6=K4g9W5Cmvz3LuzkzUAQsGTSPPw@mail.gmail.com>

> Hello, I'm a student at Polytechnique Montreal and we are trying to use
> lttng on ubuntu(Ubuntu 14.04.2 LTS) but always encounter the same problem :
>
> "Error: Unable to list kernel events: Kernel tracer not available"
>
> This happens even though we are root using the command line : sudo su
>
> We reinstalled the packages multiples time for lttng.org and from this
> source : https://launchpad.net/~lttng/+archive/ubuntu/ppa/
>
> We are able to create a session but we can't enable event (kernel tracer not
> available) or start tracing (error : no channel found).
>
> If someone has advice on how to deal we this, it would be appreciated a lot.
>
> Thank you,
>
> -Francis R.
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>

Hi Francis,

I'll start with the obvious stuff. After the "enable-event" command
fails (btw, could you give the exact commands you run?), please check:

1. Is there an "lttng-sessiond" process owned by the root user active
(ps aux | grep lttng-sessiond) ?
2. Are the LTTng kernel modules loaded (lsmod | grep lttng) ?

If the answer to any of those two is no, you will need to investigate
why that is. Perhaps you could provide the output of "dpkg -l | grep
lttng" to see what you have installed exactly.

Simon

       reply	other threads:[~2015-05-14 15:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAG4vvd4Fa2dWpWoO_sJqm+6=K4g9W5Cmvz3LuzkzUAQsGTSPPw@mail.gmail.com>
2015-05-14 15:30 ` Simon Marchi [this message]
2015-05-14 13:52 No kernel tracer available Francis Rivest

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='CAFXXi0nWomHwkmgE7njmq3vv6PaGk4XiJ-GSo9ATxSda98RVOg__36127.2085262046$1431617572$gmane$org@mail.gmail.com' \
    --to=simon.marchi@polymtl.ca \
    --cc=francis.rivest13@gmail.com \
    --cc=lttng-dev@lists.lttng.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.