From: Mathieu Desnoyers Date: Tue, 16 Jul 2013 00:18:13 +0000 (-0400) Subject: consumer: replace DBG2() instances by DBG() X-Git-Tag: v2.2.2~12 X-Git-Url: https://git.liburcu.org/?a=commitdiff_plain;h=7e448fde4d2b8892600cb0cc6cb02174a0a29604;hp=0b0e08f7033e791cbaa12b733ea2b1df1bb9e110;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 7b1c35634..21100dc64 100644 --- a/src/common/ust-consumer/ust-consumer.c +++ b/src/common/ust-consumer/ust-consumer.c @@ -375,7 +375,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); @@ -1301,7 +1301,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. */