From: Julien Desfossez Date: Wed, 14 Jun 2017 18:21:59 +0000 (-0400) Subject: copytrace: create empty stream classes by default X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=e49da5dd565a2c13516a44dc02382024eba9c8c2 copytrace: create empty stream classes by default Signed-off-by: Julien Desfossez Signed-off-by: Jérémie Galarneau --- diff --git a/plugins/libctfcopytrace/ctfcopytrace.c b/plugins/libctfcopytrace/ctfcopytrace.c index 22f2785e..5c78d6f8 100644 --- a/plugins/libctfcopytrace/ctfcopytrace.c +++ b/plugins/libctfcopytrace/ctfcopytrace.c @@ -390,7 +390,7 @@ struct bt_ctf_stream_class *ctf_copy_stream_class(FILE *err, name = NULL; } - writer_stream_class = bt_ctf_stream_class_create(name); + writer_stream_class = bt_ctf_stream_class_create_empty(name); if (!writer_stream_class) { fprintf(err, "[error] %s in %s:%d\n", __func__, __FILE__, __LINE__);