Major changes on the lttng command line tool
[lttng-tools.git] / liblttngctl / liblttngctl.c
index a2934e63c9644e3e70ae3b7309880b4857e9b2bd..230a19d7e8a25805602e71c7f541451213dc9edf 100644 (file)
@@ -154,7 +154,6 @@ static int ask_sessiond(enum lttcomm_sessiond_command lct, void **buf)
 
 end:
        lttng_disconnect_sessiond();
-       memset(&lsm, 0, sizeof(lsm));
        return ret;
 }
 
@@ -343,10 +342,9 @@ int lttng_list_traces(uuid_t *uuid, struct lttng_trace **traces)
 /*
  *  lttng_create_session
  *
- *  Create a brand new session using name. Allocate
- *  the session_id param pointing to the UUID.
+ *  Create a brand new session using name.
  */
-int lttng_create_session(char *name, uuid_t *session_id)
+int lttng_create_session(char *name)
 {
        int ret;
 
@@ -358,8 +356,6 @@ int lttng_create_session(char *name, uuid_t *session_id)
                goto end;
        }
 
-       uuid_copy(*session_id, llm.session_uuid);
-
 end:
        return ret;
 }
This page took 0.022827 seconds and 4 git commands to generate.