#include <sys/stat.h>
#include <unistd.h>
-#include <babeltrace2/ctf-writer/object.h>
+#include <babeltrace2-ctf-writer/object.h>
#include "common/assert.h"
#include "compat/compiler.h"
/* Default to little-endian */
ret = bt_ctf_writer_set_byte_order(writer, BT_CTF_BYTE_ORDER_NATIVE);
- BT_ASSERT(ret == 0);
+ BT_ASSERT_DBG(ret == 0);
/* Create trace directory if necessary and open a metadata file */
if (g_mkdir_with_parents(path, S_IRWXU | S_IRWXG)) {
string = "native";
break;
default:
- abort();
+ bt_common_abort();
}
return string;