projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename sessiond internal "uid" fields to "id"
[lttng-tools.git]
/
lttng-sessiond
/
main.c
diff --git
a/lttng-sessiond/main.c
b/lttng-sessiond/main.c
index 25a8ca76bbcb771b8ec309708534ccfddeb03c49..759b276a650e546e8447e1fd8f6b8442969839af 100644
(file)
--- a/
lttng-sessiond/main.c
+++ b/
lttng-sessiond/main.c
@@
-469,7
+469,7
@@
static void cleanup(void)
close(thread_quit_pipe[1]);
/* <fun> */
close(thread_quit_pipe[1]);
/* <fun> */
-
MS
G("%c[%d;%dm*** assert failed :-) *** ==> %c[%dm%c[%d;%dm"
+
DB
G("%c[%d;%dm*** assert failed :-) *** ==> %c[%dm%c[%d;%dm"
"Matthew, BEET driven development works!%c[%dm",
27, 1, 31, 27, 0, 27, 1, 33, 27, 0);
/* </fun> */
"Matthew, BEET driven development works!%c[%dm",
27, 1, 31, 27, 0, 27, 1, 33, 27, 0);
/* </fun> */
@@
-1874,7
+1874,6
@@
static int create_ust_session(struct ltt_session *session,
struct lttng_domain *domain, struct ucred *creds)
{
int ret;
struct lttng_domain *domain, struct ucred *creds)
{
int ret;
- unsigned int sess_uid;
gid_t gid;
struct ltt_ust_session *lus = NULL;
gid_t gid;
struct ltt_ust_session *lus = NULL;
@@
-1888,8
+1887,7
@@
static int create_ust_session(struct ltt_session *session,
DBG("Creating UST session");
DBG("Creating UST session");
- sess_uid = session->uid;
- lus = trace_ust_create_session(session->path, sess_uid, domain);
+ lus = trace_ust_create_session(session->path, session->id, domain);
if (lus == NULL) {
ret = LTTCOMM_UST_SESS_FAIL;
goto error;
if (lus == NULL) {
ret = LTTCOMM_UST_SESS_FAIL;
goto error;
This page took
0.027179 seconds
and
5
git commands to generate.