From: Steven Rostedt Date: Thu, 12 Mar 2009 23:42:29 +0000 (-0400) Subject: tracing: explain why stack tracer is empty X-Git-Tag: v2.6.30-rc1~2^2~41^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e447e1df2e568cd43d1918963c9f09fae85aea57;p=pandora-kernel.git 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 --- Reading git-diff-tree failed