Move `src/plugins/comp-logging.h` -> `src/logging/comp-logging.h`
[babeltrace.git] / src / plugins / ctf / common / bfcr / bfcr.c
index 100794e8c3ed2864c146b7365e1716ed3899eb8d..fc9b6699797f3e9719b8c4cfd64ceaa85d74d7c3 100644 (file)
@@ -26,7 +26,7 @@
 #define BT_COMP_LOG_SELF_COMP (bfcr->self_comp)
 #define BT_LOG_OUTPUT_LEVEL (bfcr->log_level)
 #define BT_LOG_TAG "PLUGIN/CTF/BFCR"
-#include "plugins/comp-logging.h"
+#include "logging/comp-logging.h"
 
 #include <stdlib.h>
 #include <stdint.h>
@@ -172,17 +172,17 @@ const char *bfcr_state_string(enum bfcr_state state)
 {
        switch (state) {
        case BFCR_STATE_NEXT_FIELD:
-               return "BFCR_STATE_NEXT_FIELD";
+               return "NEXT_FIELD";
        case BFCR_STATE_ALIGN_BASIC:
-               return "BFCR_STATE_ALIGN_BASIC";
+               return "ALIGN_BASIC";
        case BFCR_STATE_ALIGN_COMPOUND:
-               return "BFCR_STATE_ALIGN_COMPOUND";
+               return "ALIGN_COMPOUND";
        case BFCR_STATE_READ_BASIC_BEGIN:
-               return "BFCR_STATE_READ_BASIC_BEGIN";
+               return "READ_BASIC_BEGIN";
        case BFCR_STATE_READ_BASIC_CONTINUE:
-               return "BFCR_STATE_READ_BASIC_CONTINUE";
+               return "READ_BASIC_CONTINUE";
        case BFCR_STATE_DONE:
-               return "BFCR_STATE_DONE";
+               return "DONE";
        default:
                return "(unknown)";
        }
This page took 0.023433 seconds and 4 git commands to generate.