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,
};
/* 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;
size_t subbuf_size, size_t num_subbuf,
unsigned int switch_timer_interval,
unsigned int read_timer_interval,
- unsigned char *uuid);
+ unsigned char *uuid,
+ uint32_t chan_id);
void (*channel_destroy)(struct lttng_channel *chan);
int (*event_reserve)(struct lttng_ust_lib_ring_buffer_ctx *ctx,
uint32_t event_id);
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
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 {