diff options
author | Vaibhav Nagarnaik <vnagarnaik@google.com> | 2011-08-16 14:46:15 -0700 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-08-30 12:27:44 -0400 |
commit | f81ab074c30234b07c8309c542cafd07bed721f7 (patch) | |
tree | 58ec049e4f63d0f8a0b696195cf77da2b6d04b01 /kernel/trace/ring_buffer.c | |
parent | 86b6ef21b80ac6565d172cdab4384404de007eea (diff) | |
download | blackbird-op-linux-f81ab074c30234b07c8309c542cafd07bed721f7.tar.gz blackbird-op-linux-f81ab074c30234b07c8309c542cafd07bed721f7.zip |
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