Preliminary work for full UST support
[lttng-tools.git] / ltt-sessiond / session.h
index bbbbffc4554d3aaa6e0dd5abf56da6d1aa6c738c..f6a9fff4de0a2351f004ca24fdea5ec409a0b3bc 100644 (file)
@@ -56,10 +56,10 @@ struct ltt_session_list {
  * session for both LTTng and UST.
  */
 struct ltt_session {
-       char *name;
-       char *path;
+       char name[NAME_MAX];
+       char path[PATH_MAX];
        struct ltt_kernel_session *kernel_session;
-       struct ltt_ust_session_list ust_session_list;
+       struct ltt_ust_session *ust_session;
        /*
         * Protect any read/write on this session data structure. This lock must be
         * acquired *before* using any public functions declared below. Use
@@ -71,7 +71,7 @@ struct ltt_session {
 
 /* Prototypes */
 int session_create(char *name, char *path);
-int session_destroy(char *name);
+int session_destroy(struct ltt_session *session);
 
 void session_lock(struct ltt_session *session);
 void session_lock_list(void);
This page took 0.023684 seconds and 4 git commands to generate.