Hide private lttng_session_active symbol
authorMichael Jeanson <mjeanson@efficios.com>
Thu, 11 Mar 2021 21:40:02 +0000 (16:40 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 16 Mar 2021 16:44:35 +0000 (12:44 -0400)
The major SONAME bump to '1' gives us the opportunity to hide private
symbols that should never have been visible.

Change-Id: I2700903465892d58d430bec0b76cde12018fede2
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
include/lttng/ust-events.h
liblttng-ust/ust-events-internal.h

index 41dcbaf307d27a068ea970d8dd2e34b0b8deeb42..2542ed2638cf4818941f4510181993cae1653ec3 100644 (file)
@@ -618,8 +618,6 @@ void lttng_ust_context_procname_reset(void);
 
 struct lttng_transport *lttng_transport_find(const char *name);
 
-int lttng_session_active(void);
-
 void lttng_ust_dl_update(void *ip);
 
 #ifdef __cplusplus
index 01b13c4400d678b8996c81380bff8513a1661587..e6064275fd9efcdbbd68334b6230117c8588daa3 100644 (file)
@@ -561,6 +561,12 @@ int lttng_session_statedump(struct lttng_session *session);
 __attribute__((visibility("hidden")))
 void lttng_session_destroy(struct lttng_session *session);
 
+/*
+ * Called with ust lock held.
+ */
+__attribute__((visibility("hidden")))
+int lttng_session_active(void);
+
 __attribute__((visibility("hidden")))
 struct cds_list_head *lttng_get_sessions(void);
 
This page took 0.026882 seconds and 4 git commands to generate.