From d80bd59ed89bcefc9f2ba47c32d1594b34bbe0b8 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Fri, 7 Jul 2017 15:17:05 -0400 Subject: [PATCH] babeltrace-log: pass single-trace=yes to sink.ctf.fs MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Jérémie Galarneau --- cli/babeltrace-log.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/babeltrace-log.c b/cli/babeltrace-log.c index 3655a5c4..ca406095 100644 --- a/cli/babeltrace-log.c +++ b/cli/babeltrace-log.c @@ -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 */ -- 2.34.1