Fix: remove unused code in session daemon
[lttng-tools.git] / src / bin / lttng-sessiond / modprobe.c
index 1a5a1b746cf4a67e38c8440035390e662e9dc713..92563b0faad2b4cd1714c5cc4f5a2f3f3974ac99 100644 (file)
@@ -42,7 +42,6 @@ const struct kern_modules_param kern_modules_list[] = {
        { "lttng-ring-buffer-client-mmap-discard", 1 },
        { "lttng-ring-buffer-client-mmap-overwrite", 1 },
        { "lttng-ring-buffer-metadata-mmap-client", 1 },
-       { "lttng-probe-lttng", 1 },
        { "lttng-types", 0 },
        { "lttng-probe-asoc", 0 },
        { "lttng-probe-block", 0 },
@@ -56,6 +55,8 @@ const struct kern_modules_param kern_modules_list[] = {
        { "lttng-probe-jbd2", 0 },
        { "lttng-probe-kmem", 0 },
        { "lttng-probe-kvm", 0 },
+       { "lttng-probe-kvm-x86", 0 },
+       { "lttng-probe-kvm-x86-mmu", 0 },
        { "lttng-probe-lock", 0 },
        { "lttng-probe-module", 0 },
        { "lttng-probe-napi", 0 },
@@ -231,24 +232,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.027773 seconds and 5 git commands to generate.