Remove unused ring buffer client callbacks symbols
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 8 Mar 2021 17:51:06 +0000 (12:51 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 8 Mar 2021 17:51:06 +0000 (12:51 -0500)
This is an API change but the major SONAME bump to '1' gives us the
opportunity to remove symbols which are unused.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Ifa147982cc520a3ef3c5fd6f09857ece27e769a3

liblttng-ust/lttng-ring-buffer-client-discard-rt.c
liblttng-ust/lttng-ring-buffer-client-discard.c
liblttng-ust/lttng-ring-buffer-client-overwrite-rt.c
liblttng-ust/lttng-ring-buffer-client-overwrite.c
liblttng-ust/lttng-ring-buffer-client.h
liblttng-ust/lttng-ring-buffer-metadata-client.c
liblttng-ust/lttng-ring-buffer-metadata-client.h

index c895e185002ab8d6450101d7f09da3fe52261761..425515b6575a5361c14cc75e1bb765c4b69e5b9b 100644 (file)
@@ -16,6 +16,5 @@
 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
        lttng_ring_buffer_client_discard_rt_exit
 #define LTTNG_CLIENT_TYPE                      LTTNG_CLIENT_DISCARD_RT
-#define LTTNG_CLIENT_CALLBACKS                 lttng_client_callbacks_discard_rt
 #define LTTNG_CLIENT_WAKEUP                    RING_BUFFER_WAKEUP_BY_TIMER
 #include "lttng-ring-buffer-client.h"
index 28d9d34f06a749f6de29a48217e333920d78b497..954303a84b4602d22f0205682e7080ef29d806a5 100644 (file)
@@ -16,6 +16,5 @@
 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
        lttng_ring_buffer_client_discard_exit
 #define LTTNG_CLIENT_TYPE                      LTTNG_CLIENT_DISCARD
-#define LTTNG_CLIENT_CALLBACKS                 lttng_client_callbacks_discard
 #define LTTNG_CLIENT_WAKEUP                    RING_BUFFER_WAKEUP_BY_WRITER
 #include "lttng-ring-buffer-client.h"
index 7a6ffe757a1df59582873b6a062baadee201fe2c..da568ee5ec3cd501c84eae3cbeffea7882d2ed83 100644 (file)
@@ -16,6 +16,5 @@
 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
        lttng_ring_buffer_client_overwrite_rt_exit
 #define LTTNG_CLIENT_TYPE                      LTTNG_CLIENT_OVERWRITE_RT
-#define LTTNG_CLIENT_CALLBACKS                 lttng_client_callbacks_overwrite_rt
 #define LTTNG_CLIENT_WAKEUP                    RING_BUFFER_WAKEUP_BY_TIMER
 #include "lttng-ring-buffer-client.h"
index daf27833c84507f2484b84fbbefc66aa89a51f7f..712e882cb6dde0abeb74e6fc432ef7416d013f9f 100644 (file)
@@ -16,6 +16,5 @@
 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
        lttng_ring_buffer_client_overwrite_exit
 #define LTTNG_CLIENT_TYPE                      LTTNG_CLIENT_OVERWRITE
-#define LTTNG_CLIENT_CALLBACKS                 lttng_client_callbacks_overwrite
 #define LTTNG_CLIENT_WAKEUP                    RING_BUFFER_WAKEUP_BY_WRITER
 #include "lttng-ring-buffer-client.h"
index 79786af255444f9b1da6d3f8b38e22b023e1a9a1..40153663fa613cb0f6c609a64200ecbcb00d6861 100644 (file)
@@ -659,8 +659,6 @@ static const struct lttng_ust_lib_ring_buffer_config client_config = {
        .cb_ptr = &client_cb.parent,
 };
 
-const struct lttng_ust_client_lib_ring_buffer_client_cb *LTTNG_CLIENT_CALLBACKS = &client_cb;
-
 static
 struct lttng_channel *_channel_create(const char *name,
                                void *buf_addr,
index 271a6ee5cfbee4358ed34b46d2b867442755754a..46c5dbd3c172c3f76fb743270ec1fe0c4424f6ac 100644 (file)
@@ -16,5 +16,4 @@
 #define RING_BUFFER_MODE_TEMPLATE_EXIT \
        lttng_ring_buffer_metadata_client_exit
 #define LTTNG_CLIENT_TYPE                      LTTNG_CLIENT_METADATA
-#define LTTNG_CLIENT_CALLBACKS                 lttng_client_callbacks_metadata
 #include "lttng-ring-buffer-metadata-client.h"
index 98af899391650d2dc485e9bfdbf886ec624e4154..b3f0ac44276b03e96cbb2a321a1b3dff471da0f2 100644 (file)
@@ -186,8 +186,6 @@ static const struct lttng_ust_lib_ring_buffer_config client_config = {
         .cb_ptr = &client_cb.parent,
 };
 
-const struct lttng_ust_client_lib_ring_buffer_client_cb *LTTNG_CLIENT_CALLBACKS = &client_cb;
-
 static
 struct lttng_channel *_channel_create(const char *name,
                                void *buf_addr,
This page took 0.032964 seconds and 4 git commands to generate.