Python babeltrace: use long form attribute names
[babeltrace.git] / cli / babeltrace-log.c
index 3655a5c4c00da50a1abb97547559d0c298d4677c..2ff48ca69e03ce40b409a8b366e335066df05672 100644 (file)
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdbool.h>
+#include <string.h>
 #include <assert.h>
 #include <babeltrace/babeltrace.h>
 #include <popt.h>
@@ -130,6 +131,8 @@ int main(int argc, char *argv[])
                "path",
                "--value",
                NULL, /* output path placeholder */
+               "--params",
+               "single-trace=yes",
                "--connect",
                "dmesg:ctf",
                NULL, /* sentinel */
@@ -148,7 +151,7 @@ int main(int argc, char *argv[])
 
        bt_argv[13] = output_path;
        (void) g_spawn_sync(NULL, bt_argv, NULL,
-               G_SPAWN_DEFAULT | G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
+               G_SPAWN_CHILD_INHERITS_STDIN, NULL, NULL,
                NULL, NULL, &retcode, &error);
 
        if (error) {
This page took 0.02416 seconds and 4 git commands to generate.