Logging: standardize logging tags
[babeltrace.git] / src / lib / graph / message / packet.c
index 6bce712996b1f27910ca779e0d4800a6505bf56c..4a5a3e39b8dc42aa409bf662041e6136fcf685e7 100644 (file)
@@ -21,7 +21,7 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "MSG-PACKET"
+#define BT_LOG_TAG "LIB/MSG-PACKET"
 #include "lib/lib-logging.h"
 
 #include "compat/compiler.h"
@@ -246,7 +246,7 @@ void bt_message_packet_beginning_recycle(struct bt_message *msg)
 {
        BT_ASSERT(msg);
 
-       if (unlikely(!msg->graph)) {
+       if (G_UNLIKELY(!msg->graph)) {
                bt_message_packet_destroy(msg);
                return;
        }
@@ -259,7 +259,7 @@ void bt_message_packet_end_recycle(struct bt_message *msg)
 {
        BT_ASSERT(msg);
 
-       if (unlikely(!msg->graph)) {
+       if (G_UNLIKELY(!msg->graph)) {
                bt_message_packet_destroy(msg);
                return;
        }
This page took 0.023845 seconds and 4 git commands to generate.