Introduce hash table for lttng_create_event_if_missing()
[lttng-ust.git] / include / lttng / ust-events.h
index 095fb1ef1482ac954be5aa88ed06b55ede45a571..1db8e585f1f5d86dac05f7f75b17ba8c723e1ec5 100644 (file)
@@ -362,6 +362,7 @@ struct lttng_event {
        int has_enablers_without_bytecode;
        /* 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 */
 };
 
 struct channel;
@@ -467,6 +468,7 @@ struct lttng_session {
        /* New UST 2.1 */
        /* List of enablers */
        struct cds_list_head enablers_head;
+       struct lttng_ust_event_ht events_ht;    /* ht of events */
 };
 
 struct lttng_transport {
This page took 0.026234 seconds and 4 git commands to generate.