* 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>
/* 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;
}