projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Major changes on the lttng command line tool
[lttng-tools.git]
/
liblttngctl
/
liblttngctl.c
diff --git
a/liblttngctl/liblttngctl.c
b/liblttngctl/liblttngctl.c
index a2934e63c9644e3e70ae3b7309880b4857e9b2bd..230a19d7e8a25805602e71c7f541451213dc9edf 100644
(file)
--- a/
liblttngctl/liblttngctl.c
+++ b/
liblttngctl/liblttngctl.c
@@
-154,7
+154,6
@@
static int ask_sessiond(enum lttcomm_sessiond_command lct, void **buf)
end:
lttng_disconnect_sessiond();
end:
lttng_disconnect_sessiond();
- memset(&lsm, 0, sizeof(lsm));
return ret;
}
return ret;
}
@@
-343,10
+342,9
@@
int lttng_list_traces(uuid_t *uuid, struct lttng_trace **traces)
/*
* lttng_create_session
*
/*
* 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;
{
int ret;
@@
-358,8
+356,6
@@
int lttng_create_session(char *name, uuid_t *session_id)
goto end;
}
goto end;
}
- uuid_copy(*session_id, llm.session_uuid);
-
end:
return ret;
}
end:
return ret;
}
This page took
0.023949 seconds
and
4
git commands to generate.