lib: rename `lib-logging.h` to `logging.h`
[babeltrace.git] / src / lib / trace-ir / clock-snapshot.c
index 04ef345ef7cf5e771ddb70e6c29c7b92dddb877f..944532a2359e8acce1d40593a2ca05f7760ecc7c 100644 (file)
@@ -20,8 +20,8 @@
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "CLOCK-SNAPSHOT"
-#include "lib/lib-logging.h"
+#define BT_LOG_TAG "LIB/CLOCK-SNAPSHOT"
+#include "lib/logging.h"
 
 #include "lib/assert-pre.h"
 #include "compat/uuid.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.024602 seconds and 4 git commands to generate.