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

Kienan Stewart via lttng-dev <[email protected]> Fri, 12 Jul 2024 15:24:28 -0400
Newsgroups org.lttng.lists.lttng-dev
Message-ID <[email protected]>
Hi François,

On 7/12/24 2:53 PM, François Belias via lttng-dev wrote:
> Hello,
> 
> When I run the command `sudo lttng list -k`, I get the following error:

To check a few things:

   * Is lttng-sessiond being run by the root user?
   * If you run lttng-session with the "-vvv" option, are there messages 
related to loading the kernel modules?
   * Once the lttng-sessiond is started, you can check to see if the 
kernel modules have been loaded by running the following command:

```
lsmod | grep lttng
```

thanks,
kienan

> 
> ```
> Error: Unable to list kernel events: Kernel tracer not available.
> ```
> 
> I am trying to build LTTng-modules from the source. I followed the steps 
> from this website: [LTTng 
> Documentation](https://lttng.org/docs/v2.13/#doc-building-from-source 
> <https://lttng.org/docs/v2.13/#doc-building-from-source>), but I still 
> encounter this error. Can someone help me resolve this issue?
> 
> Thanks.
> 
> _______________________________________________
> lttng-dev mailing list
> [email protected]
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
[email protected]
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev