[sysprof: 25/63] libsysprof-capture: Stop defining G_LOG_DOMAIN



commit 607af7367668ae4f2be5c721e4368abb5826beb4
Author: Philip Withnall <withnall endlessm com>
Date:   Thu Jul 2 09:56:27 2020 +0100

    libsysprof-capture: Stop defining G_LOG_DOMAIN
    
    libsysprof-capture no longer calls any of the GLib logging functions
    which make use of it.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    Helps: #40

 src/libsysprof-capture/mapped-ring-buffer.c         | 2 --
 src/libsysprof-capture/sysprof-capture-condition.c  | 2 --
 src/libsysprof-capture/sysprof-capture-cursor.c     | 2 --
 src/libsysprof-capture/sysprof-capture-reader.c     | 2 --
 src/libsysprof-capture/sysprof-capture-util.c       | 2 --
 src/libsysprof-capture/sysprof-capture-writer-cat.c | 2 --
 src/libsysprof-capture/sysprof-capture-writer.c     | 2 --
 src/libsysprof-capture/sysprof-clock.c              | 2 --
 src/libsysprof-capture/sysprof-collector.c          | 2 --
 src/libsysprof-capture/sysprof-platform.c           | 2 --
 10 files changed, 20 deletions(-)
---
diff --git a/src/libsysprof-capture/mapped-ring-buffer.c b/src/libsysprof-capture/mapped-ring-buffer.c
index b2e4e6a..b7b5679 100644
--- a/src/libsysprof-capture/mapped-ring-buffer.c
+++ b/src/libsysprof-capture/mapped-ring-buffer.c
@@ -18,8 +18,6 @@
  * SPDX-License-Identifier: GPL-3.0-or-later
  */
 
-#define G_LOG_DOMAIN "mapped-ring-buffer"
-
 #include "config.h"
 
 #include <assert.h>
diff --git a/src/libsysprof-capture/sysprof-capture-condition.c 
b/src/libsysprof-capture/sysprof-capture-condition.c
index 27141db..5322e09 100644
--- a/src/libsysprof-capture/sysprof-capture-condition.c
+++ b/src/libsysprof-capture/sysprof-capture-condition.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-capture-condition"
-
 #include "config.h"
 
 #include <assert.h>
diff --git a/src/libsysprof-capture/sysprof-capture-cursor.c b/src/libsysprof-capture/sysprof-capture-cursor.c
index 3786d67..085e1fa 100644
--- a/src/libsysprof-capture/sysprof-capture-cursor.c
+++ b/src/libsysprof-capture/sysprof-capture-cursor.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-capture-cursor"
-
 #include "config.h"
 
 #include <assert.h>
diff --git a/src/libsysprof-capture/sysprof-capture-reader.c b/src/libsysprof-capture/sysprof-capture-reader.c
index 3243f80..94de783 100644
--- a/src/libsysprof-capture/sysprof-capture-reader.c
+++ b/src/libsysprof-capture/sysprof-capture-reader.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-capture-reader"
-
 #include "config.h"
 
 #include <assert.h>
diff --git a/src/libsysprof-capture/sysprof-capture-util.c b/src/libsysprof-capture/sysprof-capture-util.c
index d2e9835..f156307 100644
--- a/src/libsysprof-capture/sysprof-capture-util.c
+++ b/src/libsysprof-capture/sysprof-capture-util.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-capture-util"
-
 #include "config.h"
 
 #include <assert.h>
diff --git a/src/libsysprof-capture/sysprof-capture-writer-cat.c 
b/src/libsysprof-capture/sysprof-capture-writer-cat.c
index b752b9c..2cd71f4 100644
--- a/src/libsysprof-capture/sysprof-capture-writer-cat.c
+++ b/src/libsysprof-capture/sysprof-capture-writer-cat.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-cat"
-
 #include "config.h"
 
 #include <glib/gstdio.h>
diff --git a/src/libsysprof-capture/sysprof-capture-writer.c b/src/libsysprof-capture/sysprof-capture-writer.c
index 8cd8898..d85b5f5 100644
--- a/src/libsysprof-capture/sysprof-capture-writer.c
+++ b/src/libsysprof-capture/sysprof-capture-writer.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-capture-writer"
-
 #include "config.h"
 
 #ifndef _GNU_SOURCE
diff --git a/src/libsysprof-capture/sysprof-clock.c b/src/libsysprof-capture/sysprof-clock.c
index e65b025..7543e02 100644
--- a/src/libsysprof-capture/sysprof-clock.c
+++ b/src/libsysprof-capture/sysprof-clock.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-clock"
-
 #include "config.h"
 
 #include <assert.h>
diff --git a/src/libsysprof-capture/sysprof-collector.c b/src/libsysprof-capture/sysprof-collector.c
index f398df0..2b7ffec 100644
--- a/src/libsysprof-capture/sysprof-collector.c
+++ b/src/libsysprof-capture/sysprof-collector.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-collector"
-
 #ifndef _GNU_SOURCE
 # define _GNU_SOURCE
 #endif
diff --git a/src/libsysprof-capture/sysprof-platform.c b/src/libsysprof-capture/sysprof-platform.c
index 51464d1..3449cfa 100644
--- a/src/libsysprof-capture/sysprof-platform.c
+++ b/src/libsysprof-capture/sysprof-platform.c
@@ -54,8 +54,6 @@
  * SPDX-License-Identifier: BSD-2-Clause-Patent
  */
 
-#define G_LOG_DOMAIN "sysprof-platform"
-
 #include "config.h"
 
 #include <glib.h>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]