错误:无法列出内核事件:内核跟踪器不可用

时间:2018-11-30 21:54:54

标签: lttng

我是lttng的新手,所以我尝试遵循lttng.org的“快速入门”教程。

我已经安装了LTTng Stable 2.10 PPA(lttng-tools,lttng-modules-dkms,liblttng-ust-dev)。 起初,我面临内核跟踪的问题:

~/lttng_train$ sudo lttng create my
Session my created.
Traces will be written in /home/szymon/lttng-traces/my-20181130-222008
~/lttng_train$ sudo lttng list --kernel
Error: Unable to list kernel events: Kernel tracer not available
Error: Command error

有什么想法吗?感谢您的支持!

其他信息:

~/lttng_train$ dpkg -l | grep lttng
 ii  liblttng-ctl0:amd64                         2.10.5-1~ubuntu16.04.1                       amd64        LTTng control and utility library
 ii  liblttng-ust-ctl4:amd64                     2.10.2-1~ubuntu16.04.1                       amd64        LTTng 2.0 Userspace Tracer (trace control library)
 ii  liblttng-ust-dev:amd64                      2.10.2-1~ubuntu16.04.1                       amd64        LTTng 2.0 Userspace Tracer (development files)
 ii  liblttng-ust-python-agent0:amd64            2.10.2-1~ubuntu16.04.1                       amd64        LTTng 2.0 Userspace Tracer (Python agent native library)
 ii  liblttng-ust0:amd64                         2.10.2-1~ubuntu16.04.1                       amd64        LTTng 2.0 Userspace Tracer (tracing libraries)
 ii  lttng-modules-dkms                          2.10.8-1~ubuntu16.04.1                       all          Linux Trace Toolkit (LTTng) kernel modules (DKMS)
 ii  lttng-tools                                 2.10.5-1~ubuntu16.04.1                       amd64        LTTng control and utility programs

~$ uname -a
Linux szymon 4.4.0-98-generic #121-Ubuntu SMP Tue Oct 10 14:24:03 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux

~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.5 LTS
Release:    16.04
Codename:   xenial

~/lttng_train$ ps aux | grep lttng-sessiond
root      7862  0.0  0.3 859960 10880 ?        Ssl  19:12   0:00 /usr/bin/lttng-sessiond
szymon   14853  0.0  0.0  15440   936 pts/1    S+   22:21   0:00 grep --color=auto lttng-sessiond

~/lttng_train$ lsmod | grep lttng
~/

0 个答案:

没有答案