babeltrace-log: pass single-trace=yes to sink.ctf.fs
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 7 Jul 2017 19:17:05 +0000 (15:17 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 7 Jul 2017 20:12:40 +0000 (16:12 -0400)
Babeltrace 1's babeltrace-log(1) used to output the trace directly into
the specified directory, not in a subdirectory which is the trace name
(always `STDIN` in this case). Pass single-trace=yes to the sink.ctf.fs
instance to replicate this elaborate strategy.

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
cli/babeltrace-log.c

index 3655a5c4c00da50a1abb97547559d0c298d4677c..ca406095970d97d834b4a066be1f622d96685833 100644 (file)
@@ -130,6 +130,8 @@ int main(int argc, char *argv[])
                "path",
                "--value",
                NULL, /* output path placeholder */
+               "--params",
+               "single-trace=yes",
                "--connect",
                "dmesg:ctf",
                NULL, /* sentinel */
This page took 0.024184 seconds and 4 git commands to generate.