fix bug that always forced the consumed offset at 0
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 15 Feb 2010 05:17:05 +0000 (00:17 -0500)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 15 Feb 2010 05:40:37 +0000 (00:40 -0500)
Zero was always passed to ust_buffers_put_subbuf

libust/tracectl.c

index c0bf6d2d7536702e02bcf07c9a39f35f7f872689..3a5a3385d2522ae094046cef4d570cc61dd303eb 100644 (file)
@@ -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;
 
This page took 0.025842 seconds and 4 git commands to generate.