projects
/
deliverable
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
UST 2.0 support
[deliverable/lttng-tools.git]
/
ltt-sessiond
/
ust-comm.c
diff --git
a/ltt-sessiond/ust-comm.c
b/ltt-sessiond/ust-comm.c
index 31c40070e92758b94779ef6b58e27f7b5ce39a23..724260511e621660669e1fc3de28d1762279bc9a 100644
(file)
--- a/
ltt-sessiond/ust-comm.c
+++ b/
ltt-sessiond/ust-comm.c
@@
-16,15
+16,14
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <config.h>
#include <stdlib.h>
#include <stdlib.h>
-
#include <lttngerr.h>
#include <lttngerr.h>
-
#include "ust-comm.h"
/*
* Send msg containing a command to an UST application via sock and wait for
#include "ust-comm.h"
/*
* Send msg containing a command to an UST application via sock and wait for
- * the reply.
+ * the reply.
Caller must free() the reply structure sent back.
*
* Return the replied structure or NULL.
*/
*
* Return the replied structure or NULL.
*/
@@
-39,7
+38,7
@@
struct lttcomm_ust_reply *ustcomm_send_command(int sock,
goto error;
}
goto error;
}
- DBG("Sending UST command %d to sock %d", msg->cmd, sock);
+ DBG
2
("Sending UST command %d to sock %d", msg->cmd, sock);
/* Send UST msg */
len = lttcomm_send_unix_sock(sock, msg, sizeof(*msg));
/* Send UST msg */
len = lttcomm_send_unix_sock(sock, msg, sizeof(*msg));
@@
-53,7
+52,7
@@
struct lttcomm_ust_reply *ustcomm_send_command(int sock,
goto error;
}
goto error;
}
- DBG("Receiving UST reply on sock %d", sock);
+ DBG
2
("Receiving UST reply on sock %d", sock);
/* Get UST reply */
len = lttcomm_recv_unix_sock(sock, reply, sizeof(*reply));
/* Get UST reply */
len = lttcomm_recv_unix_sock(sock, reply, sizeof(*reply));
This page took
0.02496 seconds
and
5
git commands to generate.