#include "common/assert.h"
#include "common/macros.h"
-#include <babeltrace2/ctf-writer/event.h>
-#include <babeltrace2/ctf-writer/field-types.h>
-#include <babeltrace2/ctf-writer/fields.h>
-#include <babeltrace2/ctf-writer/stream-class.h>
-#include <babeltrace2/ctf-writer/stream.h>
+#include <babeltrace2-ctf-writer/event.h>
+#include <babeltrace2-ctf-writer/field-types.h>
+#include <babeltrace2-ctf-writer/fields.h>
+#include <babeltrace2-ctf-writer/stream-class.h>
+#include <babeltrace2-ctf-writer/stream.h>
#include <glib.h>
#include "object.h"
struct bt_ctf_stream_class_common *bt_ctf_event_class_common_borrow_stream_class(
struct bt_ctf_event_class_common *event_class)
{
- BT_ASSERT(event_class);
+ BT_ASSERT_DBG(event_class);
return (void *) bt_ctf_object_borrow_parent(&event_class->base);
}
struct bt_ctf_event_class_common *event_class)
{
BT_CTF_ASSERT_PRE_NON_NULL(event_class, "Event class");
- BT_ASSERT(event_class->name);
+ BT_ASSERT_DBG(event_class->name);
return event_class->name->str;
}