Fix: All perror turned into PERROR to show file and line number
[lttng-tools.git] / src / bin / lttng-sessiond / modprobe.c
index 9d8b47a673558d9c2f1287994ed054d2ac24cb26..65032e41409637338eadea6a53951e42db4d0d9c 100644 (file)
@@ -48,7 +48,9 @@ const struct kern_modules_param kern_modules_list[] = {
        { "lttng-probe-irq", 0 },
        { "lttng-probe-kvm", 0 },
        { "lttng-probe-sched", 0 },
+       { "lttng-probe-signal", 0 },
        { "lttng-probe-statedump", 0 },
+       { "lttng-probe-timer", 0 },
 };
 
 /*
@@ -99,7 +101,7 @@ void modprobe_remove_lttng_data(void)
                                "/sbin/modprobe -r -q %s",
                                kern_modules_list[i].name);
                if (ret < 0) {
-                       perror("snprintf modprobe -r");
+                       PERROR("snprintf modprobe -r");
                        goto error;
                }
                modprobe[sizeof(modprobe) - 1] = '\0';
@@ -180,7 +182,7 @@ int modprobe_lttng_data(void)
                                kern_modules_list[i].required ? "" : "-q ",
                                kern_modules_list[i].name);
                if (ret < 0) {
-                       perror("snprintf modprobe");
+                       PERROR("snprintf modprobe");
                        goto error;
                }
                modprobe[sizeof(modprobe) - 1] = '\0';
This page took 0.024163 seconds and 4 git commands to generate.