[lttng-dev] [PATCH lttng-tools] lttng-sessiond: auto-load lttng-probe-i2c module

Simon Marchi simon.marchi at ericsson.com
Tue Oct 4 22:24:50 UTC 2016


Automatically load the lttng-probe-i2c kernel module, which was recently
added in lttng-modules, along with the other probe modules.

Signed-off-by: Simon Marchi <simon.marchi at ericsson.com>
---
 src/bin/lttng-sessiond/modprobe.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/bin/lttng-sessiond/modprobe.c b/src/bin/lttng-sessiond/modprobe.c
index ca0467e..f58f50c 100644
--- a/src/bin/lttng-sessiond/modprobe.c
+++ b/src/bin/lttng-sessiond/modprobe.c
@@ -57,6 +57,7 @@ struct kern_modules_param kern_modules_probes_default[] = {
 	{ "lttng-probe-ext3" },
 	{ "lttng-probe-ext4" },
 	{ "lttng-probe-gpio" },
+	{ "lttng-probe-i2c" },
 	{ "lttng-probe-irq" },
 	{ "lttng-probe-jbd" },
 	{ "lttng-probe-jbd2" },
-- 
2.10.1



More information about the lttng-dev mailing list