Move and hide new 'lttng_counter_transport_*' private symbols
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 17 Dec 2020 20:23:25 +0000 (15:23 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 24 Feb 2021 15:32:29 +0000 (10:32 -0500)
Change-Id: If7da4f9a2a046d2bce183d1c0d9016c89a8ce882
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-events.h
liblttng-ust-ctl/ustctl.c
liblttng-ust/lttng-counter-client-percpu-32-modular.c
liblttng-ust/lttng-counter-client-percpu-64-modular.c
liblttng-ust/lttng-tracer-core.h

index abb265f949a07f9b7bd831b57d7621872529e0bc..16c5abb1f569fcd76ab6ffc12d2c54bdea884d43 100644 (file)
@@ -746,9 +746,6 @@ int lttng_attach_context(struct lttng_ust_context *context_param,
 void lttng_transport_register(struct lttng_transport *transport);
 void lttng_transport_unregister(struct lttng_transport *transport);
 
-void lttng_counter_transport_register(struct lttng_counter_transport *transport);
-void lttng_counter_transport_unregister(struct lttng_counter_transport *transport);
-
 struct lttng_counter *lttng_ust_counter_create(
                const char *counter_transport_name,
                size_t number_dimensions, const struct lttng_counter_dimension *dimensions);
@@ -837,7 +834,6 @@ extern const struct lttng_ust_client_lib_ring_buffer_client_cb *lttng_client_cal
 extern const struct lttng_ust_client_lib_ring_buffer_client_cb *lttng_client_callbacks_overwrite;
 
 struct lttng_transport *lttng_transport_find(const char *name);
-struct lttng_counter_transport *lttng_counter_transport_find(const char *name);
 
 int lttng_probes_get_event_list(struct lttng_ust_tracepoint_list *list);
 void lttng_probes_prune_event_list(struct lttng_ust_tracepoint_list *list);
index 259f40de6d164886d0d822ceece8dfd383ec1ad4..cfff4b174a2e9c49ddf6f1e64d3fb08b85965731 100644 (file)
@@ -36,6 +36,7 @@
 #include "../liblttng-ust/lttng-rb-clients.h"
 #include "../liblttng-ust/clock.h"
 #include "../liblttng-ust/getenv.h"
+#include "../liblttng-ust/lttng-tracer-core.h"
 
 #include "../libcounter/shm.h"
 #include "../libcounter/smp.h"
index 86fa1164868bfb2b41cca3c94daa1e0f9e958df9..fc36badcf93d79a9d17c920ad55fb632a49c6725 100644 (file)
@@ -11,6 +11,7 @@
 #include <lttng/ust-events.h>
 #include "../libcounter/counter.h"
 #include "../libcounter/counter-api.h"
+#include "lttng-tracer-core.h"
 
 static const struct lib_counter_config client_config = {
        .alloc = COUNTER_ALLOC_PER_CPU,
index c38519464c4baa79923c0a5f3ffe35a561a9c26c..b935986f2268adc56ae17f9769b7b19c9dacff3a 100644 (file)
@@ -11,6 +11,7 @@
 #include <lttng/ust-events.h>
 #include "../libcounter/counter.h"
 #include "../libcounter/counter-api.h"
+#include "lttng-tracer-core.h"
 
 static const struct lib_counter_config client_config = {
        .alloc = COUNTER_ALLOC_PER_CPU,
index e303dd7124ee798605d37392a2154137b5d07d7b..6531da40f5032975d2dafa1bff8909c185683ad0 100644 (file)
@@ -91,6 +91,13 @@ void lttng_event_notifier_notification_send(
                struct lttng_event_notifier *event_notifier,
                const char *stack_data);
 
+LTTNG_HIDDEN
+struct lttng_counter_transport *lttng_counter_transport_find(const char *name);
+LTTNG_HIDDEN
+void lttng_counter_transport_register(struct lttng_counter_transport *transport);
+LTTNG_HIDDEN
+void lttng_counter_transport_unregister(struct lttng_counter_transport *transport);
+
 #ifdef LTTNG_UST_HAVE_PERF_EVENT
 void lttng_ust_fixup_perf_counter_tls(void);
 void lttng_perf_lock(void);
This page took 0.028253 seconds and 4 git commands to generate.