Hide private context utils symbols
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 10 Mar 2021 15:39:39 +0000 (10:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Wed, 10 Mar 2021 21:25:03 +0000 (16:25 -0500)
The major SONAME bump to '1' gives us the opportunity to hide private
symbols that should never have been visible.

Change-Id: I458dbe5f3abc712543a035dad241c40df60dae55
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/ust-context-provider.h
liblttng-ust/context-internal.h
liblttng-ust/lttng-ring-buffer-client.h
liblttng-ust/lttng-tracer-core.h

index 0425a31d6e398f1989c5a90c176034eafc5ab227..cd845583b90484dfbfa818424d6e4c94a8e535d6 100644 (file)
@@ -29,8 +29,6 @@ struct lttng_ust_context_provider {
 int lttng_ust_context_provider_register(struct lttng_ust_context_provider *provider);
 void lttng_ust_context_provider_unregister(struct lttng_ust_context_provider *provider);
 
-int lttng_context_is_app(const char *name);
-
 void lttng_ust_context_set_session_provider(const char *name,
                size_t (*get_size)(struct lttng_ctx_field *field, size_t offset),
                void (*record)(struct lttng_ctx_field *field,
@@ -48,7 +46,5 @@ int lttng_ust_context_set_provider_rcu(struct lttng_ctx **_ctx,
                        struct lttng_channel *chan),
                void (*get_value)(struct lttng_ctx_field *field,
                        struct lttng_ctx_value *value));
-int lttng_context_add_rcu(struct lttng_ctx **ctx_p,
-               const struct lttng_ctx_field *f);
 
 #endif /* _LTTNG_UST_CONTEXT_PROVIDER_H */
index 8c3861ec6a0019bf11b4399832d0ae8b34ce6956..4a546d356ea8e5c57bfb273f9535dfc6dafffb5f 100644 (file)
@@ -32,6 +32,13 @@ void lttng_remove_context_field(struct lttng_ctx **ctx_p,
 LTTNG_HIDDEN
 void lttng_destroy_context(struct lttng_ctx *ctx);
 
+LTTNG_HIDDEN
+int lttng_context_add_rcu(struct lttng_ctx **ctx_p,
+               const struct lttng_ctx_field *f);
+
+LTTNG_HIDDEN
+int lttng_context_is_app(const char *name);
+
 LTTNG_HIDDEN
 void lttng_context_vtid_reset(void);
 LTTNG_HIDDEN
index 5d9cdc0a703ce894009f117e87a5ea32dc0aa1e2..80e0b95a36b5ad08616d01e1a2a0fa63f206ba04 100644 (file)
@@ -13,6 +13,7 @@
 #include "ust-bitfield.h"
 #include "ust-compat.h"
 #include "clock.h"
+#include "context-internal.h"
 #include "lttng-tracer.h"
 #include "../libringbuffer/frontend_types.h"
 
index 5cc095cdd9d516d26e9a60ab814423e8667859cd..7b5030817aac85e099a17694e0544f46ab651368 100644 (file)
@@ -82,7 +82,6 @@ void lttng_ust_dummy_record(struct lttng_ctx_field *field,
                 struct lttng_channel *chan);
 void lttng_ust_dummy_get_value(struct lttng_ctx_field *field,
                struct lttng_ctx_value *value);
-int lttng_context_is_app(const char *name);
 
 LTTNG_HIDDEN
 void lttng_event_notifier_notification_send(
This page took 0.027278 seconds and 4 git commands to generate.