From: Pierre-Marc Fournier Date: Fri, 26 Feb 2010 22:53:08 +0000 (-0500) Subject: ustd: tell buffer name in some debug messages X-Git-Tag: v0.3~18 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=920bdf719a175cc0e542e2f001e7d01f230412c1;p=ust.git ustd: tell buffer name in some debug messages --- diff --git a/ustd/lowlevel.c b/ustd/lowlevel.c index a79b494..47a6f77 100644 --- a/ustd/lowlevel.c +++ b/ustd/lowlevel.c @@ -70,9 +70,9 @@ void finish_consuming_dead_subbuffer(struct buffer_info *buf) long i_subbuf; - DBG("processing died buffer"); - DBG("consumed offset is %ld", consumed_offset); - DBG("write offset is %ld", write_offset); + DBG("processing dead buffer (%s)", buf->name); + DBG("consumed offset is %ld (%s)", consumed_offset, buf->name); + DBG("write offset is %ld (%s)", write_offset, buf->name); /* First subbuf that we need to consume now. It is not modulo'd. * Consumed_offset is the next byte to consume. */