* SOFTWARE.
*/
-#define BT_LOG_TAG "MSG-PACKET"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/MSG-PACKET"
+#include "lib/logging.h"
+#include "lib/assert-pre.h"
+#include "lib/assert-post.h"
#include "compat/compiler.h"
#include <babeltrace2/trace-ir/packet.h>
#include "lib/trace-ir/packet.h"
#include <babeltrace2/graph/message-packet-beginning.h>
#include <babeltrace2/graph/message-packet-end.h>
#include "common/assert.h"
-#include "lib/assert-pre.h"
#include "lib/object.h"
#include <inttypes.h>
{
BT_ASSERT(msg);
- if (unlikely(!msg->graph)) {
+ if (G_UNLIKELY(!msg->graph)) {
bt_message_packet_destroy(msg);
return;
}
{
BT_ASSERT(msg);
- if (unlikely(!msg->graph)) {
+ if (G_UNLIKELY(!msg->graph)) {
bt_message_packet_destroy(msg);
return;
}