logging: strip down and clean `log.h` and `log.c`
[babeltrace.git] / src / plugins / ctf / fs-src / query.cpp
index 2c758c25dbd91932302a9e40707b0fcfcf219155..0e3bdc99de9b9ed451d79ad3ea7b060e2c69b7c8 100644 (file)
@@ -6,25 +6,23 @@
  * Babeltrace CTF file system Reader Component queries
  */
 
-#define BT_LOG_OUTPUT_LEVEL log_level
-#define BT_LOG_TAG          "PLUGIN/SRC.CTF.FS/QUERY"
-#include "logging/log.h"
-
-#include "query.hpp"
-#include <stdbool.h>
 #include <glib.h>
 #include <glib/gstdio.h>
-#include <fcntl.h>
 #include <sys/types.h>
-#include <sys/stat.h>
+
+#include <babeltrace2/babeltrace.h>
+
+#define BT_LOG_OUTPUT_LEVEL ((enum bt_log_level) log_level)
+#define BT_LOG_TAG          "PLUGIN/SRC.CTF.FS/QUERY"
+#include "logging/comp-logging.h"
+#include "logging/log.h"
+
 #include "common/assert.h"
-#include "metadata.hpp"
+
 #include "../common/metadata/decoder.hpp"
-#include "common/common.h"
-#include "common/macros.h"
-#include <babeltrace2/babeltrace.h>
 #include "fs.hpp"
-#include "logging/comp-logging.h"
+#include "metadata.hpp"
+#include "query.hpp"
 
 #define METADATA_TEXT_SIG "/* CTF 1.8"
 
This page took 0.026293 seconds and 4 git commands to generate.