Remove unused `src/plugins/ctf/common/utils`
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Mon, 17 Jun 2019 23:27:16 +0000 (19:27 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Thu, 20 Jun 2019 18:01:16 +0000 (14:01 -0400)
Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ia66dfc005c8091187c3883727bf7f68582a201da
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1491
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
configure.ac
src/cli/babeltrace2.c
src/plugins/ctf/common/Makefile.am
src/plugins/ctf/common/utils/Makefile.am [deleted file]
src/plugins/ctf/common/utils/logging.c [deleted file]
src/plugins/ctf/common/utils/logging.h [deleted file]
src/plugins/ctf/common/utils/utils.c [deleted file]
src/plugins/ctf/common/utils/utils.h [deleted file]
src/plugins/ctf/fs-src/fs.c

index 2f76b4aecf72a2e2d0415e3373639eef88e6f367..693fa64153c417d28f6545f7b5ebc1a7f5cea8c6 100644 (file)
@@ -760,7 +760,6 @@ AC_CONFIG_FILES([
        src/plugins/ctf/common/Makefile
        src/plugins/ctf/common/metadata/Makefile
        src/plugins/ctf/common/msg-iter/Makefile
-       src/plugins/ctf/common/utils/Makefile
        src/plugins/ctf/fs-sink/Makefile
        src/plugins/ctf/fs-src/Makefile
        src/plugins/ctf/lttng-live/Makefile
index 830ebf5ae60501f2d54b14dde56a1667eb9719e3..fed54d9bc6cc94fcbc9a64435d7b81c89b12cfe5 100644 (file)
@@ -50,7 +50,6 @@
  */
 static const char* log_level_env_var_names[] = {
        "BABELTRACE_PLUGIN_CTF_METADATA_LOG_LEVEL",
-       "BABELTRACE_PLUGIN_CTF_UTILS_LOG_LEVEL",
        "BABELTRACE_PYTHON_BT2_LOG_LEVEL",
        "BABELTRACE_SINK_CTF_FS_LOG_LEVEL",
        "BABELTRACE_SINK_TEXT_DETAILS_LOG_LEVEL",
index 055355b115d6b42d02c5832e95cf382087d944c4..88a38c374b533f68406ce191966fb025fefdbadc 100644 (file)
@@ -1,4 +1,4 @@
-SUBDIRS = metadata bfcr msg-iter utils
+SUBDIRS = metadata bfcr msg-iter
 
 noinst_LTLIBRARIES = libbabeltrace2-plugin-ctf-common.la
 libbabeltrace2_plugin_ctf_common_la_SOURCES = print.h
@@ -6,5 +6,4 @@ libbabeltrace2_plugin_ctf_common_la_LIBADD =            \
        $(builddir)/metadata/libctf-parser.la           \
        $(builddir)/metadata/libctf-ast.la              \
        $(builddir)/bfcr/libctf-bfcr.la                 \
-       $(builddir)/msg-iter/libctf-msg-iter.la \
-       $(builddir)/utils/libctf-utils.la
+       $(builddir)/msg-iter/libctf-msg-iter.la
diff --git a/src/plugins/ctf/common/utils/Makefile.am b/src/plugins/ctf/common/utils/Makefile.am
deleted file mode 100644 (file)
index c4b62ff..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-noinst_LTLIBRARIES = libctf-utils.la
-libctf_utils_la_SOURCES = \
-       logging.c \
-       logging.h \
-       utils.c \
-       utils.h
diff --git a/src/plugins/ctf/common/utils/logging.c b/src/plugins/ctf/common/utils/logging.c
deleted file mode 100644 (file)
index bd773ea..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
- /*
- * Copyright (c) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-#define BT_LOG_OUTPUT_LEVEL utils_log_level
-#include "logging/log.h"
-
-BT_LOG_INIT_LOG_LEVEL(utils_log_level, "BABELTRACE_PLUGIN_CTF_UTILS_LOG_LEVEL");
diff --git a/src/plugins/ctf/common/utils/logging.h b/src/plugins/ctf/common/utils/logging.h
deleted file mode 100644 (file)
index 2eeace4..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef CTF_UTILS_LOGGING_H
-#define CTF_UTILS_LOGGING_H
-
-/*
- * Copyright (c) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-#define BT_LOG_OUTPUT_LEVEL utils_log_level
-#include "logging/log.h"
-
-BT_LOG_LEVEL_EXTERN_SYMBOL(utils_log_level);
-
-#endif /* CTF_UTILS_LOGGING_H */
diff --git a/src/plugins/ctf/common/utils/utils.c b/src/plugins/ctf/common/utils/utils.c
deleted file mode 100644 (file)
index 3d82ad5..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- * Babeltrace - CTF Utils
- *
- * Copyright (c) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-#define BT_LOG_TAG "PLUGIN/CTF/UTILS"
-#include "logging.h"
-
-#include "utils.h"
diff --git a/src/plugins/ctf/common/utils/utils.h b/src/plugins/ctf/common/utils/utils.h
deleted file mode 100644 (file)
index 05e0a8d..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-#ifndef CTF_UTILS_H
-#define CTF_UTILS_H
-
-/*
- * Babeltrace - CTF Utilities
- *
- * Copyright (c) 2017 Jérémie Galarneau <jeremie.galarneau@efficios.com>
- *
- * Permission is hereby granted, free of charge, to any person obtaining a copy
- * of this software and associated documentation files (the "Software"), to deal
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in
- * all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-#include <babeltrace2/babeltrace.h>
-#include "common/macros.h"
-
-#endif /* CTF_UTILS_H */
index 7ea06e13da7b53886f5c494c4e0241c3d121fcf6..847450607a61d859aab6366c4028549660a6c68f 100644 (file)
@@ -38,7 +38,6 @@
 #include "file.h"
 #include "../common/metadata/decoder.h"
 #include "../common/msg-iter/msg-iter.h"
-#include "../common/utils/utils.h"
 #include "query.h"
 
 #define BT_LOG_TAG "PLUGIN/SRC.CTF.FS"
This page took 0.030153 seconds and 4 git commands to generate.