summaryrefslogtreecommitdiffstats
path: root/kernel/softirq.c
diff options
context:
space:
mode:
authorSteven Rostedt2009-03-13 00:42:29 +0100
committerSteven Rostedt2009-03-13 02:15:01 +0100
commite447e1df2e568cd43d1918963c9f09fae85aea57 (patch)
treea73edfcc1b603a921ed7e332ce614e1345385100 /kernel/softirq.c
parenttracing: fix stack tracer header (diff)
downloadkernel-qcow2-linux-e447e1df2e568cd43d1918963c9f09fae85aea57.tar.gz
kernel-qcow2-linux-e447e1df2e568cd43d1918963c9f09fae85aea57.tar.xz
kernel-qcow2-linux-e447e1df2e568cd43d1918963c9f09fae85aea57.zip
tracing: explain why stack tracer is empty
If the stack tracing is disabled (by default) the stack_trace file will only contain the header: # cat /debug/tracing/stack_trace Depth Size Location (0 entries) ----- ---- -------- This can be frustrating to a developer that does not realize that the stack tracer is disabled. This patch adds the following text: # cat /debug/tracing/stack_trace Depth Size Location (0 entries) ----- ---- -------- # # Stack tracer disabled # # To enable the stack tracer, either add 'stacktrace' to the # kernel command line # or 'echo 1 > /proc/sys/kernel/stack_tracer_enabled' # Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Diffstat (limited to 'kernel/softirq.c')
0 files changed, 0 insertions, 0 deletions