From: Mathieu Desnoyers Date: Tue, 16 Mar 2021 02:53:36 +0000 (-0400) Subject: Move struct lttng_enum to internal header X-Git-Tag: v2.13.0-rc1~288 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=036d17fbaa66ad9398b3a2606ab5c1f9ed1ea551;p=lttng-ust.git Move struct lttng_enum to internal header Signed-off-by: Mathieu Desnoyers Change-Id: I7bc601ea23fe57c23cca2ce45dc3931824b17a8e --- diff --git a/include/lttng/ust-events.h b/include/lttng/ust-events.h index d070a3cc..cff4bd14 100644 --- a/include/lttng/ust-events.h +++ b/include/lttng/ust-events.h @@ -483,14 +483,6 @@ struct lttng_ust_event_notifier { /* End of base ABI. Fields below should be used after checking struct_size. */ }; -struct lttng_enum { - const struct lttng_ust_enum_desc *desc; - struct lttng_session *session; - struct cds_list_head node; /* Enum list in session */ - struct cds_hlist_node hlist; /* Session ht of enums */ - uint64_t id; /* Enumeration ID in sessiond */ -}; - struct channel; struct lttng_ust_shm_handle; diff --git a/liblttng-ust/ust-events-internal.h b/liblttng-ust/ust-events-internal.h index a3146b37..5f375475 100644 --- a/liblttng-ust/ust-events-internal.h +++ b/liblttng-ust/ust-events-internal.h @@ -266,6 +266,14 @@ struct lttng_ust_session_private { struct lttng_ctx *ctx; /* contexts for filters. */ }; +struct lttng_enum { + const struct lttng_ust_enum_desc *desc; + struct lttng_session *session; + struct cds_list_head node; /* Enum list in session */ + struct cds_hlist_node hlist; /* Session ht of enums */ + uint64_t id; /* Enumeration ID in sessiond */ +}; + static inline struct lttng_enabler *lttng_event_enabler_as_enabler( struct lttng_event_enabler *event_enabler)