Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: tom.deneau@amd.com (Deneau, Tom)
Subject: [lttng-dev] Error: Kernel create channel failed
Date: Tue, 30 May 2017 14:15:47 +0000	[thread overview]
Message-ID: <CY4PR12MB1912F9F050D1DF167B92DE089BF00@CY4PR12MB1912.namprd12.prod.outlook.com> (raw)

I seem to have gotten my lttng into a state where kernel tracing does not work.
I have tried uninstalling and reinstalling packages with no luck and also building from source.
Any suggestions welcome.

My distro is Ubuntu 16.04 but the kernel is 4.10.0-20-generic.

I have installed 2.9 using
apt install linux-tools-generic dkms
apt-add-repository ppa:lttng/stable-2.9
apt-get update
apt install -y lttng-tools liblttng-ust-dev  liblttng-ust-agent-java  python3-lttngust lttng-modules-dkms
wget http://ftp.us.debian.org/debian/pool/main/l/lttng-modules/lttng-modules-dkms_2.9.1-1_all.deb
dpkg -i lttng-modules-dkms_2.9.1-1_all.deb
apt install -y babeltrace python3-babeltrace

After lttng create test, I then try

# lttng -vvv enable-channel k -k --num-subbuf 64 --subbuf-size 512k
DEBUG1 - 08:27:54.415995 [13972/13972]: Channel subbuf num set to 64 (in cmd_enable_channels() at commands/enable_channels.c:420)
DEBUG1 - 08:27:54.416045 [13972/13972]: Channel subbuf size set to 524288 (in cmd_enable_channels() at commands/enable_channels.c:384)
DEBUG2 - 08:27:54.416080 [13972/13972]: Config file path found: /root (in _get_session_name() at utils.c:63)
DEBUG1 - 08:27:54.416087 [13972/13972]: Session name found: test (in _get_session_name() at utils.c:64)
DEBUG1 - 08:27:54.416099 [13972/13972]: Enabling channel k (in enable_channel() at commands/enable_channels.c:225)
DEBUG1 - 08:27:54.416129 [13972/13972]: LSM cmd type : 5 (in send_session_msg() at lttng-ctl.c:135)
Error: Channel k: Kernel create channel failed (session test)
Error: Command error
DEBUG1 - 08:27:54.416479 [13972/13972]: Clean exit (in clean_exit() at lttng.c:149)




             reply	other threads:[~2017-05-30 14:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30 14:15 Deneau, Tom [this message]
2017-05-31 18:30 ` Jonathan Rajotte-Julien
2017-05-31 23:18   ` Deneau, Tom

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=CY4PR12MB1912F9F050D1DF167B92DE089BF00@CY4PR12MB1912.namprd12.prod.outlook.com \
    --to=tom.deneau@amd.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