Insert V4L2 instrumentation module on session start
[lttng-tools.git] / src / bin / lttng-sessiond / modprobe.c
index a010e7cd76ab92b66d12ecef024efc5e98f07a98..4ef4d4ceac6a55f063076f497db51cec3d182ad5 100644 (file)
@@ -78,6 +78,7 @@ const struct kern_modules_param kern_modules_list[] = {
        { "lttng-probe-timer", 0 },
        { "lttng-probe-udp", 0 },
        { "lttng-probe-vmscan", 0 },
+       { "lttng-probe-v4l2", 0 },
        { "lttng-probe-workqueue", 0 },
        { "lttng-probe-writeback", 0 },
 };
@@ -232,24 +233,3 @@ int modprobe_lttng_data(void)
 error:
        return ret;
 }
-
-/*
- * Load all lttng kernel modules.
- */
-int modprobe_lttng_all(void)
-{
-       int ret;
-
-       ret = modprobe_lttng_control();
-       if (ret < 0) {
-               goto error;
-       }
-
-       ret = modprobe_lttng_data();
-       if (ret < 0) {
-               goto error;
-       }
-
-error:
-       return ret;
-}
This page took 0.027183 seconds and 5 git commands to generate.