summaryrefslogtreecommitdiff
path: root/kernel/trace/ring_buffer.c
diff options
context:
space:
mode:
authorVaibhav Nagarnaik <vnagarnaik@google.com>2011-08-16 21:46:15 (GMT)
committerSteven Rostedt <rostedt@goodmis.org>2011-08-30 16:27:44 (GMT)
commitf81ab074c30234b07c8309c542cafd07bed721f7 (patch)
tree58ec049e4f63d0f8a0b696195cf77da2b6d04b01 /kernel/trace/ring_buffer.c
parent86b6ef21b80ac6565d172cdab4384404de007eea (diff)
downloadlinux-fsl-qoriq-f81ab074c30234b07c8309c542cafd07bed721f7.tar.xz
trace: Add a new readonly entry to report total buffer size
The current file "buffer_size_kb" reports the size of per-cpu buffer and not the overall memory allocated which could be misleading. A new file "buffer_total_size_kb" adds up all the enabled CPU buffer sizes and reports it. This is only a readonly entry. Signed-off-by: Vaibhav Nagarnaik <vnagarnaik@google.com> Cc: Michael Rubin <mrubin@google.com> Cc: David Sharp <dhsharp@google.com> Link: http://lkml.kernel.org/r/1313531179-9323-2-git-send-email-vnagarnaik@google.com Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/ring_buffer.c')
0 files changed, 0 insertions, 0 deletions