From: Pierre-Marc Fournier Date: Mon, 15 Feb 2010 05:17:05 +0000 (-0500) Subject: fix bug that always forced the consumed offset at 0 X-Git-Tag: v1.9.1~736 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=bb9cf413195ca3a68c07059e95df1c50127d5824;p=lttng-ust.git fix bug that always forced the consumed offset at 0 Zero was always passed to ust_buffers_put_subbuf --- diff --git a/libust/tracectl.c b/libust/tracectl.c index c0bf6d2d..3a5a3385 100644 --- a/libust/tracectl.c +++ b/libust/tracectl.c @@ -640,7 +640,6 @@ static int do_cmd_put_subbuffer(const char *recvbuf, struct ustcomm_source *src) if(!strcmp(trace->channels[i].channel_name, ch_name)) { struct ust_buffer *buf = channel->buf[ch_cpu]; char *reply; - long consumed_old=0; found = 1;