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

François Belias beliasossim at gmail.com
Fri Jul 12 15:52:53 EDT 2024


Hi Kienan,
Yes, `lttng-sessiond` is being run by the root user. I have shared a
screenshot of the result when I ran the `lttng-sessiond -vvv` command, but
I don't think the kernel modules are loaded.
thanks


Le ven. 12 juill. 2024, à 15 h 24, Kienan Stewart <kstewart at efficios.com> a
écrit :

> 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
> > lttng-dev at lists.lttng.org
> > https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20240712/178097b6/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2024-07-12 15-51-05.png
Type: image/png
Size: 287629 bytes
Desc: not available
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20240712/178097b6/attachment-0001.png>


More information about the lttng-dev mailing list