From: Mathieu Desnoyers Date: Tue, 16 Jul 2013 00:18:13 +0000 (-0400) Subject: consumer: replace DBG2() instances by DBG() X-Git-Tag: v2.3.0-rc1~22 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=3eb914c096ff6a91a7d0c4b8bbadb4c85f16aed3;p=lttng-tools.git consumer: replace DBG2() instances by DBG() The consumer daemon does not currently support DBG2() printout. Reviewed-by: Julien Desfossez Signed-off-by: Mathieu Desnoyers --- diff --git a/src/common/ust-consumer/ust-consumer.c b/src/common/ust-consumer/ust-consumer.c index 4c93aa7c2..c1e987435 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -343,7 +343,7 @@ static int send_sessiond_stream(int sock, struct lttng_consumer_stream *stream) assert(stream); assert(sock >= 0); - DBG2("UST consumer sending stream %" PRIu64 " to sessiond", stream->key); + DBG("UST consumer sending stream %" PRIu64 " to sessiond", stream->key); /* Send stream to session daemon. */ ret = ustctl_send_stream_to_sessiond(sock, stream->ustream); @@ -1616,7 +1616,7 @@ int lttng_ustconsumer_read_subbuffer(struct lttng_consumer_stream *stream, assert(stream->ustream); assert(ctx); - DBG2("In UST read_subbuffer (wait_fd: %d, name: %s)", stream->wait_fd, + DBG("In UST read_subbuffer (wait_fd: %d, name: %s)", stream->wait_fd, stream->name); /* Ease our life for what's next. */