Introduce common event structure
[lttng-ust.git] / liblttng-ust / ust-events-internal.h
index db8c12f12e0b33cc3a83ae25691848edaadcc213..ea62e029bc7f697967218fd7758c3acec5b6e965 100644 (file)
@@ -165,19 +165,23 @@ struct lttng_counter_transport {
        const struct lib_counter_config *client_config;
 };
 
-struct lttng_ust_event_private {
-       struct lttng_event *pub;        /* Public event interface */
+struct lttng_ust_event_common_private {
+       struct lttng_event_common *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 */
 };
 
+struct lttng_ust_event_private {
+       struct lttng_ust_event_common_private parent;
+
+       struct lttng_event *pub;        /* Public event interface */
+       struct cds_list_head node;      /* Event list in session */
+       struct cds_hlist_node hlist;    /* session ht of events */
+};
+
 struct lttng_ust_bytecode_runtime_private {
        struct bytecode_runtime *pub;   /* Public bytecode runtime interface */
 
This page took 0.023272 seconds and 4 git commands to generate.