]> git.lttng.org Git - lttng-tools.git/commit
Fix: Update lttng-modules load list
authorKienan Stewart <kstewart@efficios.com>
Wed, 3 Jul 2024 19:51:29 +0000 (15:51 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 29 Nov 2024 22:32:25 +0000 (17:32 -0500)
commit7095e241985ac48dad36101bbbc62dc480559202
tree18b908e5d96f542ca15c73eae7214f0f26841154
parent92edc464c775feee6e04fcc48dd61855d6adf2e5
Fix: Update lttng-modules load list

Observed issue
==============

When starting a root sessiond, after stopping it there would still be
lttng-modules modules loaded in the kernel.

```
$ lsmod | grep lttng || echo "nothing"
nothing

$ lttng-sessiond -b

$ killall lttng-sessiond

$ lsmod | grep lttng || echo "nothing"
lttng_statedump       757760  0
lttng_wrapper          16384  1 lttng_statedump
lttng_uprobes          12288  0
lttng_clock            12288  0
lttng_kprobes          12288  0
lttng_lib_ring_buffer    90112  0
lttng_kretprobes       12288  0
```

Cause
=====

Not all modules are listed in the core/data modules in `modprobe.cpp`.

Solution
========

Add missing modules.

Known drawbacks
===============

None.

Change-Id: I28525c55eadb95467f77ffac0b9152ac8576e0fc
Signed-off-by: Kienan Stewart <kstewart@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/modprobe.cpp
This page took 0.03377 seconds and 4 git commands to generate.