Add kernel tracer check on kernel command
[lttng-tools.git] / ltt-sessiond / session.h
index 7567d986767b185e2be046c44eb3675c949570f3..25ac3fb90e002b284703fde6a7120640c9117aac 100644 (file)
@@ -28,6 +28,8 @@ struct ltt_session_list {
        struct cds_list_head head;
 };
 
+extern struct ltt_session_list ltt_session_list;
+
 /* ltt-session - This data structure contains information needed
  * to identify a tracing session for both LTTng and UST.
  */
@@ -40,7 +42,6 @@ struct ltt_session {
        unsigned int ust_trace_count;
        unsigned int kern_session_count;
        pid_t ust_consumer;
-       pid_t kernel_consumer;
 };
 
 /* Prototypes */
@@ -50,5 +51,6 @@ void get_lttng_session(struct lttng_session *sessions);
 struct ltt_session *find_session_by_uuid(uuid_t session_id);
 struct ltt_session *find_session_by_name(char *name);
 unsigned int get_session_count(void);
+struct ltt_session_list *get_session_list(void);
 
 #endif /* _LTT_SESSION_H */
This page took 0.023315 seconds and 4 git commands to generate.