projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix kconsumerd number of fd expected
[lttng-tools.git]
/
ltt-sessiond
/
ust-ctl.c
diff --git
a/ltt-sessiond/ust-ctl.c
b/ltt-sessiond/ust-ctl.c
index 2f43b1e60316435e8bfcdcb6989c90fb1095d370..7f70b8975b5d963dfd890b22d14c13c9817e9ef0 100644
(file)
--- a/
ltt-sessiond/ust-ctl.c
+++ b/
ltt-sessiond/ust-ctl.c
@@
-23,7
+23,7
@@
#include <string.h>
#include <unistd.h>
#include <string.h>
#include <unistd.h>
-#include <
lttng-sessiond
-comm.h>
+#include <
ust/lttng-ust
-comm.h>
#include <lttngerr.h>
#include "ust-comm.h"
#include <lttngerr.h>
#include "ust-comm.h"
@@
-47,8
+47,8
@@
int ustctl_register_done(int sock)
goto error;
}
goto error;
}
- if (reply->ret_code !=
LT
TCOMM_OK) {
- DBG("Return code: %s",
lt
tcomm_get_readable_code(reply->ret_code));
+ if (reply->ret_code !=
US
TCOMM_OK) {
+ DBG("Return code: %s",
us
tcomm_get_readable_code(reply->ret_code));
goto error;
}
goto error;
}
@@
-74,8
+74,8
@@
int ustctl_create_session(int sock, struct ltt_ust_session *session)
goto error;
}
goto error;
}
- if (reply->ret_code !=
LT
TCOMM_OK) {
- DBG("Return code: %s",
lt
tcomm_get_readable_code(reply->ret_code));
+ if (reply->ret_code !=
US
TCOMM_OK) {
+ DBG("Return code: %s",
us
tcomm_get_readable_code(reply->ret_code));
goto error;
}
goto error;
}
@@
-119,9
+119,9
@@
int ustctl_create_channel(int sock, struct ltt_ust_session *session,
goto error;
}
goto error;
}
- if (reply->ret_code !=
LT
TCOMM_OK) {
+ if (reply->ret_code !=
US
TCOMM_OK) {
DBG("Return code (%d): %s", reply->ret_code,
DBG("Return code (%d): %s", reply->ret_code,
-
lt
tcomm_get_readable_code(reply->ret_code));
+
us
tcomm_get_readable_code(reply->ret_code));
goto error;
}
goto error;
}
@@
-159,9
+159,9
@@
int ustctl_enable_channel(int sock, struct ltt_ust_session *session,
goto error;
}
goto error;
}
- if (reply->ret_code !=
LT
TCOMM_OK) {
+ if (reply->ret_code !=
US
TCOMM_OK) {
DBG("Return code (%d): %s", reply->ret_code,
DBG("Return code (%d): %s", reply->ret_code,
-
lt
tcomm_get_readable_code(reply->ret_code));
+
us
tcomm_get_readable_code(reply->ret_code));
goto error;
} else if (reply->handle != chan->handle) {
ERR("Receive wrong handle from UST reply on enable channel");
goto error;
} else if (reply->handle != chan->handle) {
ERR("Receive wrong handle from UST reply on enable channel");
@@
-198,9
+198,9
@@
int ustctl_disable_channel(int sock, struct ltt_ust_session *session,
goto error;
}
goto error;
}
- if (reply->ret_code !=
LT
TCOMM_OK) {
+ if (reply->ret_code !=
US
TCOMM_OK) {
DBG("Return code (%d): %s", reply->ret_code,
DBG("Return code (%d): %s", reply->ret_code,
-
lt
tcomm_get_readable_code(reply->ret_code));
+
us
tcomm_get_readable_code(reply->ret_code));
goto error;
} else if (reply->handle != chan->handle) {
ERR("Receive wrong handle from UST reply on enable channel");
goto error;
} else if (reply->handle != chan->handle) {
ERR("Receive wrong handle from UST reply on enable channel");
This page took
0.02395 seconds
and
4
git commands to generate.