tracing: fix seq read from trace files
authorSteven Rostedt <srostedt@redhat.com>
Thu, 5 Mar 2009 01:31:11 +0000 (20:31 -0500)
committerSteven Rostedt <srostedt@redhat.com>
Thu, 5 Mar 2009 01:31:11 +0000 (20:31 -0500)
commite74da5235cec6cb71eb338c987f876ecc793138b
treeba7ba533d7056ba660763c33b5a44a1d61279c99
parent2dc5d12b1f43134e9bc5037f69f4739cfdfab93e
tracing: fix seq read from trace files

The buffer used by trace_seq was updated incorrectly. Instead
of consuming what was actually read, it consumed the rest of the
buffer on reads.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
kernel/trace/trace.c