From: Michael Jeanson Date: Tue, 9 Mar 2021 21:44:22 +0000 (-0500) Subject: Hide tls fixup private symbols X-Git-Tag: v2.13.0-rc1~324 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=472b4adfd5a39691fe179a2c1d00988d5f32ab70;p=lttng-ust.git Hide tls fixup private symbols The major SONAME bump to '1' gives us the opportunity to hide private symbols that should never have been visible. Change-Id: I83f6f9c65689cbc686560f87295f23b6d0e49ad6 Signed-off-by: Michael Jeanson Signed-off-by: Mathieu Desnoyers --- diff --git a/liblttng-ust/lttng-tracer-core.h b/liblttng-ust/lttng-tracer-core.h index 7bfa2d60..5cc095cd 100644 --- a/liblttng-ust/lttng-tracer-core.h +++ b/liblttng-ust/lttng-tracer-core.h @@ -41,14 +41,23 @@ void ust_lock_nocheck(void); LTTNG_HIDDEN void ust_unlock(void); +LTTNG_HIDDEN +void lttng_ust_fixup_tls(void); +LTTNG_HIDDEN void lttng_fixup_event_tls(void); +LTTNG_HIDDEN void lttng_fixup_vtid_tls(void); +LTTNG_HIDDEN void lttng_fixup_procname_tls(void); +LTTNG_HIDDEN void lttng_fixup_cgroup_ns_tls(void); +LTTNG_HIDDEN void lttng_fixup_ipc_ns_tls(void); +LTTNG_HIDDEN void lttng_fixup_net_ns_tls(void); LTTNG_HIDDEN void lttng_fixup_time_ns_tls(void); +LTTNG_HIDDEN void lttng_fixup_uts_ns_tls(void); LTTNG_HIDDEN @@ -74,7 +83,6 @@ void lttng_ust_dummy_record(struct lttng_ctx_field *field, void lttng_ust_dummy_get_value(struct lttng_ctx_field *field, struct lttng_ctx_value *value); int lttng_context_is_app(const char *name); -void lttng_ust_fixup_tls(void); LTTNG_HIDDEN void lttng_event_notifier_notification_send( @@ -89,6 +97,7 @@ LTTNG_HIDDEN void lttng_counter_transport_unregister(struct lttng_counter_transport *transport); #ifdef HAVE_PERF_EVENT +LTTNG_HIDDEN void lttng_ust_fixup_perf_counter_tls(void); void lttng_perf_lock(void); void lttng_perf_unlock(void);