Logging: standardize logging tags
[babeltrace.git] / src / lib / trace-ir / clock-snapshot.c
index 04ef345ef7cf5e771ddb70e6c29c7b92dddb877f..6b44334e914c1d289ce87a0a1bdb8afd23df37dc 100644 (file)
@@ -20,7 +20,7 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "CLOCK-SNAPSHOT"
+#define BT_LOG_TAG "LIB/CLOCK-SNAPSHOT"
 #include "lib/lib-logging.h"
 
 #include "lib/assert-pre.h"
@@ -82,7 +82,7 @@ struct bt_clock_snapshot *bt_clock_snapshot_create(
                goto error;
        }
 
-       if (likely(!clock_snapshot->clock_class)) {
+       if (G_LIKELY(!clock_snapshot->clock_class)) {
                clock_snapshot->clock_class = clock_class;
                bt_object_get_no_null_check(clock_class);
        }
This page took 0.022489 seconds and 4 git commands to generate.