From 036d17fbaa66ad9398b3a2606ab5c1f9ed1ea551 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Mon, 15 Mar 2021 22:53:36 -0400 Subject: [PATCH 1/1] Move struct lttng_enum to internal header Signed-off-by: Mathieu Desnoyers Change-Id: I7bc601ea23fe57c23cca2ce45dc3931824b17a8e --- include/lttng/ust-events.h | 8 -------- liblttng-ust/ust-events-internal.h | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) 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) -- 2.34.1