Move 'enum lttng_client_types' to private headers
authorMichael Jeanson <mjeanson@efficios.com>
Fri, 5 Mar 2021 16:39:35 +0000 (11:39 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 8 Mar 2021 17:57:03 +0000 (12:57 -0500)
This is an API change but the major SONAME bump to '1' gives us the
opportunity to hide symbols that should have been private from the
start.

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

index c383bf65b8b557311aa4ad6ab00ab07401df7034..68f2a70acaf264054d07b51409daadf6617f48a2 100644 (file)
@@ -53,19 +53,6 @@ struct lttng_event_notifier_group;
  * tracer. Those structures have padding for future extension.
  */
 
-/*
- * LTTng client type enumeration. Used by the consumer to map the
- * callbacks from its own address space.
- */
-enum lttng_client_types {
-       LTTNG_CLIENT_METADATA = 0,
-       LTTNG_CLIENT_DISCARD = 1,
-       LTTNG_CLIENT_OVERWRITE = 2,
-       LTTNG_CLIENT_DISCARD_RT = 3,
-       LTTNG_CLIENT_OVERWRITE_RT = 4,
-       LTTNG_NR_CLIENT_TYPES,
-};
-
 /* Type description */
 
 /* Update the astract_types name table in lttng-types.c along with this enum */
index c7a3aaaa305b68121e027087d8839b60da24411b..b02e4a80d282300189a79c33cfce30fe44b4d81b 100644 (file)
 #define LTTNG_RFLAG_EXTENDED           RING_BUFFER_RFLAG_END
 #define LTTNG_RFLAG_END                        (LTTNG_RFLAG_EXTENDED << 1)
 
+/*
+ * LTTng client type enumeration. Used by the consumer to map the
+ * callbacks from its own address space.
+ */
+enum lttng_client_types {
+       LTTNG_CLIENT_METADATA = 0,
+       LTTNG_CLIENT_DISCARD = 1,
+       LTTNG_CLIENT_OVERWRITE = 2,
+       LTTNG_CLIENT_DISCARD_RT = 3,
+       LTTNG_CLIENT_OVERWRITE_RT = 4,
+       LTTNG_NR_CLIENT_TYPES,
+};
+
 #endif /* _LTTNG_TRACER_H */
This page took 0.026092 seconds and 4 git commands to generate.