X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=ltt-sessiond%2Fust-comm.c;h=455d40c0af68cedb941120b5759d05fb5e4e75be;hp=31c40070e92758b94779ef6b58e27f7b5ce39a23;hb=44d3bd014f6ad217cff7e7c3dfaad76b1927c37b;hpb=28ca4a8b53068907137724e2e078b29cecf525f7 diff --git a/ltt-sessiond/ust-comm.c b/ltt-sessiond/ust-comm.c index 31c40070e..455d40c0a 100644 --- a/ltt-sessiond/ust-comm.c +++ b/ltt-sessiond/ust-comm.c @@ -24,7 +24,7 @@ /* * 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. */ @@ -39,7 +39,7 @@ struct lttcomm_ust_reply *ustcomm_send_command(int sock, goto error; } - DBG("Sending UST command %d to sock %d", msg->cmd, sock); + DBG2("Sending UST command %d to sock %d", msg->cmd, sock); /* Send UST msg */ len = lttcomm_send_unix_sock(sock, msg, sizeof(*msg)); @@ -53,7 +53,7 @@ struct lttcomm_ust_reply *ustcomm_send_command(int sock, goto error; } - DBG("Receiving UST reply on sock %d", sock); + DBG2("Receiving UST reply on sock %d", sock); /* Get UST reply */ len = lttcomm_recv_unix_sock(sock, reply, sizeof(*reply));