projects
/
lttng-ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename sessiond comm lib into ust comm
[lttng-ust.git]
/
libust
/
lttng-ust-comm.c
diff --git
a/libust/lttng-ust-comm.c
b/libust/lttng-ust-comm.c
index e73d324d4815d1439cc756defe762a3897d2f270..c9cb777709dab0d84ffffebe26352fcfdfbde563 100644
(file)
--- a/
libust/lttng-ust-comm.c
+++ b/
libust/lttng-ust-comm.c
@@
-23,7
+23,8
@@
#include <sys/socket.h>
#include <unistd.h>
#include <errno.h>
#include <sys/socket.h>
#include <unistd.h>
#include <errno.h>
-#include <lttng-sessiond-comm.h>
+#include <ust/lttng-ust-abi.h>
+#include <lttng-ust-comm.h>
#include <ust/usterr-signal-safe.h>
#include <pthread.h>
#include <ust/usterr-signal-safe.h>
#include <pthread.h>
@@
-79,13
+80,13
@@
int handle_message(int sock, struct lttcomm_ust_msg *lum)
int ret;
switch (lum->cmd_type) {
int ret;
switch (lum->cmd_type) {
- case
LTTNG_
UST_CREATE_SESSION:
+ case UST_CREATE_SESSION:
{
struct lttcomm_ust_reply lur;
DBG("Handling create session message");
memset(&lur, 0, sizeof(lur));
{
struct lttcomm_ust_reply lur;
DBG("Handling create session message");
memset(&lur, 0, sizeof(lur));
- lur.cmd_type =
LTTNG_
UST_CREATE_SESSION;
+ lur.cmd_type = UST_CREATE_SESSION;
/* ... */
ret = 0;
/* ... */
ret = 0;
@@
-224,4
+225,5
@@
void __attribute__((destructor)) lttng_ust_comm_exit(void)
if (ret) {
ERR("Error cancelling local ust listener thread");
}
if (ret) {
ERR("Error cancelling local ust listener thread");
}
+ lttng_ust_abi_exit();
}
}
This page took
0.025286 seconds
and
4
git commands to generate.