Implement read timer (for RT)
[lttng-ust.git] / include / lttng / ust-events.h
index 05966ff69e344218daf0fa29b9e401843e3b7eac..2ffadde1c82b38b82c51a240db213a53949c6905 100644 (file)
@@ -54,6 +54,8 @@ enum lttng_client_types {
        LTTNG_CLIENT_METADATA = 0,
        LTTNG_CLIENT_DISCARD = 1,
        LTTNG_CLIENT_OVERWRITE = 2,
+       LTTNG_CLIENT_DISCARD_RT = 3,
+       LTTNG_CLIENT_OVERWRITE_RT = 4,
        LTTNG_NR_CLIENT_TYPES,
 };
 
@@ -365,6 +367,7 @@ struct lttng_event {
        /* 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 channel;
@@ -432,6 +435,7 @@ struct lttng_channel {
        unsigned int id;
        enum lttng_ust_chan_type type;
        unsigned char uuid[LTTNG_UST_UUID_LEN]; /* Trace session unique ID */
+       int tstate:1;                   /* Transient enable state */
 };
 
 #define LTTNG_UST_EVENT_HT_BITS                12
@@ -463,6 +467,7 @@ struct lttng_session {
        struct cds_list_head enablers_head;
        struct lttng_ust_event_ht events_ht;    /* ht of events */
        void *owner;                            /* object owner */
+       int tstate:1;                           /* Transient enable state */
 };
 
 struct lttng_transport {
This page took 0.023066 seconds and 4 git commands to generate.