ftrace: show buffer size in kilobytes
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 13 Nov 2008 05:09:35 +0000 (00:09 -0500)
committerIngo Molnar <mingo@elte.hu>
Thu, 13 Nov 2008 08:49:22 +0000 (09:49 +0100)
commit1696b2b0f44a8d42f3e6b1ea90c21790871c04d9
tree87f217120af535771b6249c50d9758c8765fd5f6
parenta94c80e78bc9f4493ffc25a02d5d7bcd93c399d0
ftrace: show buffer size in kilobytes

Impact: change the units of buffer_size_kb to kilobytes

This patch changes the units of the buffer_size_kb file to kilobytes.
Reading and writing to the file uses kilobytes as units. To help
users to know what units are used, the output of the file now
looks like:

  # cat /debug/tracing/buffer_size_kb
  1408

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/ftrace.txt
kernel/trace/trace.c