[lttng-dev] Error: Unable to list kernel events: Kernel tracer not available

Jonathan Rajotte-Julien jonathan.rajotte-julien at efficios.com
Mon Dec 3 11:37:45 EST 2018


> Done.
> Unpacking lttng-modules-dkms (2.10.8-1~ubuntu16.04.1) over
> (2.10.8-1~ubuntu16.04.1) ...
> Setting up lttng-modules-dkms (2.10.8-1~ubuntu16.04.1) ...
> Loading new lttng-modules-2.10.8 DKMS files...
> Building for 4.4.0-98-generic and 4.4.0-139-generic
> Module build for the currently running kernel was skipped since the
> kernel source for this kernel does not seem to be installed.

I would bet that you are missing the kernel header for the 4.4.0-98-generic
kernel.

	sudo apt-get install linux-headers-4.4.0-98-generic

I'm not sure if dkms triggers on header install but if I were you I would simply
force a reinstall of the lttng-modules-dkms package and make sure that the
modules are installed for both the 98 and 139 kernel.

Cheers


-- 
Jonathan Rajotte-Julien
EfficiOS


More information about the lttng-dev mailing list