tracing: Fix initial buffer_size_kb state
authorVaibhav Nagarnaik <vnagarnaik@google.com>
Thu, 3 May 2012 17:40:34 +0000 (10:40 -0700)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 19 May 2012 12:28:50 +0000 (08:28 -0400)
commita591c73f127505cdbd0aa399a92112a8ddff8730
tree47eeb200977b79ddfbe3a6a26e8e38dc93bb5ff5
parent05fdd70d2fe1e34d8b80ec56d6e3272d9293653e
tracing: Fix initial buffer_size_kb state

Make sure that the state of buffer_size_kb is initialized correctly and
returns actual size of the ring buffer.

Link: http://lkml.kernel.org/r/1336066834-1673-1-git-send-email-vnagarnaik@google.com
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Laurent Chavey <chavey@google.com>
Cc: Justin Teravest <teravest@google.com>
Cc: David Sharp <dhsharp@google.com>
Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c