Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: bapi_mvit2004@yahoo.com (somanath sahoo)
Subject: [lttng-dev] lttng - ubuntu 11.10 - problem
Date: Fri, 15 Jun 2012 00:41:28 -0700 (PDT)	[thread overview]
Message-ID: <1339746088.90723.YahooMailNeo@web161201.mail.bf1.yahoo.com> (raw)

Hi,

As i am new to lttng usage, I have followed the instructions from <https://launchpad.net/~lttng/+archive/ppa> in order to install the lttng tool set in my ubuntu 11.10.
After successful installation, i followed the getting started link on lttng.org <http://lttng.org/quickstart> in "root mode".

1. when i am executing the first command - 

??? # lttng list -k

??? i am getting the following error
??? " Error: Unable to list kernel events"

2. # lttng create mysession
??? Session mysession created.

3. # lttng enable-event sched_switch,sched_process_fork -k
??? Error: Event sched_switch: Kernel tracer not available (channel channel0, session mysession)
??? Error: Event sched_process_fork: Kernel tracer not available (channel channel0, session mysession)
??? Warning: Some command(s) went wrong?


4. # lttng start
??? Tracing started for session mysession

5. # lttng stop
??? Tracing stopped for session mysession

6.? # lttng destroy
??? Session mysession destroyed at /root

------------

I have checked that lttng-sessiond is running by below command 


# ps -ef|grep lttn
root?????? 535???? 1? 0 Jun14 ???????? 00:00:00 lttng-sessiond
somanath? 5359???? 1? 0 Jun14 pts/1??? 00:00:00 lttng-sessiond --sig-parent --quiet
root???? 19514 19495? 0 12:44 pts/2??? 00:00:00 grep --color=auto lttn

--------------

Could anyone please help me to understand or clarify why kernel tracer is not available when above point (3) / (1) is executed or whether i need to do anything more , please let me know so that i can start using lttng in ubuntu 11.10 successfully.


I have googled about this problem, I got to know about this similar problem from one link - http://www.mail-archive.com/lttng-dev at lists.lttng.org/msg00763.html
However i executed all this commands under root and explicit lttng-seesiond start, But still the problem is persistant.



Any help will be appreciated.


Thanks & Regards,
Somanath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20120615/87cd04df/attachment-0001.html>


             reply	other threads:[~2012-06-15  7:41 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-15  7:41 somanath sahoo [this message]
2012-06-15  8:16 ` Francis Giraldeau
2012-06-15  8:23   ` [lttng-dev] Prerequsites for adding perf context Oestman, Fredrik
2012-06-15 15:13     ` Mathieu Desnoyers
2012-06-15 13:12   ` [lttng-dev] lttng - ubuntu 11.10 - problem David Goulet
2012-06-15 13:51     ` Matthew Khouzam
2012-06-15 15:12     ` Mathieu Desnoyers
2012-06-15 15:32       ` Alexandre Montplaisir
2012-06-18  6:59 somanath sahoo
2012-06-18 13:42 ` Mathieu Desnoyers
2012-06-18 14:35   ` Alexandre Montplaisir

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=1339746088.90723.YahooMailNeo@web161201.mail.bf1.yahoo.com \
    --to=bapi_mvit2004@yahoo.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