Refactoring: introduce event private structure
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index 24b56d3b33f3b7c82d21ea43971b00abb32b8267..1a94ba0ea3acf4d16136fb9c18843535e312aac4 100644 (file)
@@ -165,6 +165,19 @@ struct lttng_counter_transport {
        const struct lib_counter_config *client_config;
 };
 
+struct lttng_ust_event_private {
+       struct lttng_event *pub;        /* Public event interface */
+
+       const struct lttng_event_desc *desc;
+       enum lttng_ust_instrumentation instrumentation;
+       struct cds_list_head node;              /* Event list in session */
+
+       /* Backward references: list of lttng_enabler_ref (ref to enablers) */
+       struct cds_list_head enablers_ref_head;
+       struct cds_hlist_node hlist;    /* session ht of events */
+       int registered;                 /* has reg'd tracepoint probe */
+};
+
 static inline
 struct lttng_enabler *lttng_event_enabler_as_enabler(
                struct lttng_event_enabler *event_enabler)
This page took 0.024496 seconds and 4 git commands to generate.