From: Michael Jeanson Date: Fri, 5 Mar 2021 16:39:35 +0000 (-0500) Subject: Move 'enum lttng_client_types' to private headers X-Git-Tag: v2.13.0-rc1~340 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b4eb3dfa67ae4518b1e0511a9ac2c486ef98e486;p=lttng-ust.git Move 'enum lttng_client_types' to private headers 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 Signed-off-by: Mathieu Desnoyers --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index c383bf65..68f2a70a 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -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 */ diff --git a/liblttng-ust/lttng-tracer.h b/liblttng-ust/lttng-tracer.h index c7a3aaaa..b02e4a80 100644 --- a/liblttng-ust/lttng-tracer.h +++ b/liblttng-ust/lttng-tracer.h @@ -34,4 +34,17 @@ #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 */