Logging: standardize logging tags
[babeltrace.git] / src / plugins / ctf / fs-sink / translate-trace-ir-to-ctf-ir.c
index 64f4d5eab5759faf7ffc05729d16dc6fe1f6e196..7bd9423b032790cba022387a180ab4b22cf6bca8 100644 (file)
  * SOFTWARE.
  */
 
-#define BT_LOG_TAG "PLUGIN-CTF-FS-SINK-TRANSLATE-TRACE-IR-TO-CTF-IR"
+#define BT_LOG_TAG "PLUGIN/SINK.CTF.FS/TRANSLATE-TRACE-IR-TO-CTF-IR"
 #include "logging.h"
 
 #include <babeltrace2/babeltrace.h>
-#include "common/babeltrace.h"
+#include "common/macros.h"
 #include "common/common.h"
 #include "common/assert.h"
 #include <stdio.h>
@@ -1095,7 +1095,7 @@ int try_translate_event_class_trace_ir_to_ctf_ir(
 
        /* Check in hash table first */
        *out_ec = g_hash_table_lookup(sc->event_classes_from_ir, ir_ec);
-       if (likely(*out_ec)) {
+       if (G_LIKELY(*out_ec)) {
                goto end;
        }
 
This page took 0.023791 seconds and 4 git commands to generate.