X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fplugins%2Fctf%2Ffs-sink%2Ffs-sink-stream.c;h=64aecd47ad02f1515d9430dc93d5aa55327e22e4;hb=98b15851a941e7342b8bb19e265cdc3a40fabfb8;hp=ca61d10ff1c9bbee4cc450bf64178438c06af54a;hpb=4b3b8e4ad436df173c9ecdf8279ccaa3a6d41201;p=babeltrace.git diff --git a/src/plugins/ctf/fs-sink/fs-sink-stream.c b/src/plugins/ctf/fs-sink/fs-sink-stream.c index ca61d10f..64aecd47 100644 --- a/src/plugins/ctf/fs-sink/fs-sink-stream.c +++ b/src/plugins/ctf/fs-sink/fs-sink-stream.c @@ -470,7 +470,7 @@ int write_event_header(struct fs_sink_stream *stream, /* Time */ if (stream->sc->default_clock_class) { - BT_ASSERT(cs); + BT_ASSERT_DBG(cs); ret = bt_ctfser_write_byte_aligned_unsigned_int(&stream->ctfser, bt_clock_snapshot_get_value(cs), 8, 64, BYTE_ORDER); if (G_UNLIKELY(ret)) { @@ -499,7 +499,7 @@ int fs_sink_stream_write_event(struct fs_sink_stream *stream, /* Common context */ if (stream->sc->event_common_context_fc) { field = bt_event_borrow_common_context_field_const(event); - BT_ASSERT(field); + BT_ASSERT_DBG(field); ret = write_struct_field(stream, (void *) stream->sc->event_common_context_fc, field, true); @@ -511,7 +511,7 @@ int fs_sink_stream_write_event(struct fs_sink_stream *stream, /* Specific context */ if (ec->spec_context_fc) { field = bt_event_borrow_specific_context_field_const(event); - BT_ASSERT(field); + BT_ASSERT_DBG(field); ret = write_struct_field(stream, (void *) ec->spec_context_fc, field, true); if (G_UNLIKELY(ret)) { @@ -522,7 +522,7 @@ int fs_sink_stream_write_event(struct fs_sink_stream *stream, /* Specific context */ if (ec->payload_fc) { field = bt_event_borrow_payload_field_const(event); - BT_ASSERT(field); + BT_ASSERT_DBG(field); ret = write_struct_field(stream, (void *) ec->payload_fc, field, true); if (G_UNLIKELY(ret)) {