#include <urcu/list.h>
#include "trace-kernel.h"
-#include "trace-ust.h"
+
+struct ltt_ust_session;
/*
* Tracing session list
* copied into those sessions.
*/
struct consumer_output *consumer;
+
+ /* Did a start command occured before the kern/ust session creation? */
+ unsigned int started;
};
/* Prototypes */
struct ltt_session *session_find_by_name(char *name);
struct ltt_session_list *session_get_list(void);
+int session_access_ok(struct ltt_session *session, uid_t uid, gid_t gid);
+
#endif /* _LTT_SESSION_H */