-/*
+/*
* Copyright (C) 2011 - David Goulet <david.goulet@polymtl.ca>
*
* This program is free software; you can redistribute it and/or
#ifndef _LTT_SESSION_H
#define _LTT_SESSION_H
+#include <lttng/lttng.h>
+#include <uuid/uuid.h>
+
/* 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 */