diff options
author | Steven Rostedt <srostedt@redhat.com> | 2009-03-12 17:53:25 (GMT) |
---|---|---|
committer | Steven Rostedt <srostedt@redhat.com> | 2009-03-13 01:14:59 (GMT) |
commit | db526ca329f855510e8ce672332eba3304aed590 (patch) | |
tree | d6bdd3384a063d7c58ae807a310ecc80cb91773b /kernel/trace/trace_functions_graph.c | |
parent | 8aabee573dff131a085c63de7667eacd94ba4ccb (diff) | |
download | linux-fsl-qoriq-db526ca329f855510e8ce672332eba3304aed590.tar.xz |
tracing: show that buffer size is not expanded
Impact: do not confuse user on small trace buffer sizes
When the system boots up, the trace buffer is small to conserve memory.
It is only two pages per online CPU. When the tracer is used, it expands
to the default value.
This can confuse the user if they look at the buffer size and see only
7, but then later they see 1408.
# cat /debug/tracing/buffer_size_kb
7
# echo sched_switch > /debug/tracing/current_tracer
# cat /debug/tracing/buffer_size_kb
1408
This patch tries to help remove this confustion by showing that the
buffer has not been expanded.
# cat /debug/tracing/buffer_size_kb
7 (expanded: 1408)
Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions