#ifndef _LTT_SESSION_H
#define _LTT_SESSION_H
+#include <lttng/lttng.h>
+#include <uuid/uuid.h>
+
+extern struct ltt_session *current_session;
+
/* Global session list */
struct ltt_session_list {
struct cds_list_head head;
struct cds_list_head list;
uuid_t uuid;
struct cds_list_head ust_traces;
- struct cds_list_head lttng_traces;
+ struct cds_list_head kernel_traces;
+ unsigned int ust_trace_count;
+ unsigned int kern_trace_count;
pid_t ust_consumer;
- pid_t lttng_consumer;
+ pid_t kernel_consumer;
};
/* Prototypes */