+/*
+ * Generic lttng event
+ */
+struct lttng_event {
+ char name[LTTNG_SYMBOL_NAME_LEN];
+ enum lttng_event_type type;
+ /* Per event type configuration */
+ union {
+ struct lttng_event_kprobe_attr kprobe;
+ struct lttng_event_function_attr ftrace;
+ } attr;
+};
+
+/* Tracer channel attributes */
+struct lttng_channel_attr {
+ int overwrite; /* 1: overwrite, 0: discard */
+ uint64_t subbuf_size; /* bytes */
+ uint64_t num_subbuf; /* power of 2 */
+ unsigned int switch_timer_interval; /* usec */
+ unsigned int read_timer_interval; /* usec */
+};
+
+/*
+ * Basic session information.