aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2008-12-16 23:06:40 -0500
committerIngo Molnar <mingo@elte.hu>2008-12-18 06:56:24 -0500
commitf38f1d2aa5a3520cf05da7cd6bd12fe2b0c509b7 (patch)
tree5eef795a1a081c41686971eaaa5ba2d1098ceb9d /Documentation
parent40874491f9e9a4cb08eaf663dbe018bf5671975a (diff)
trace: add a way to enable or disable the stack tracer
Impact: enhancement to stack tracer The stack tracer currently is either on when configured in or off when it is not. It can not be disabled when it is configured on. (besides disabling the function tracer that it uses) This patch adds a way to enable or disable the stack tracer at run time. It defaults off on bootup, but a kernel parameter 'stacktrace' has been added to enable it on bootup. A new sysctl has been added "kernel.stack_tracer_enabled" to let the user enable or disable the stack tracer at run time. Signed-off-by: Steven Rostedt <srostedt@redhat.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kernel-parameters.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 2919a2e9193..edab81c1318 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -89,6 +89,7 @@ parameter is applicable:
89 SPARC Sparc architecture is enabled. 89 SPARC Sparc architecture is enabled.
90 SWSUSP Software suspend (hibernation) is enabled. 90 SWSUSP Software suspend (hibernation) is enabled.
91 SUSPEND System suspend states are enabled. 91 SUSPEND System suspend states are enabled.
92 FTRACE Function tracing enabled.
92 TS Appropriate touchscreen support is enabled. 93 TS Appropriate touchscreen support is enabled.
93 USB USB support is enabled. 94 USB USB support is enabled.
94 USBHID USB Human Interface Device support is enabled. 95 USBHID USB Human Interface Device support is enabled.
@@ -2173,6 +2174,9 @@ and is between 256 and 4096 characters. It is defined in the file
2173 st= [HW,SCSI] SCSI tape parameters (buffers, etc.) 2174 st= [HW,SCSI] SCSI tape parameters (buffers, etc.)
2174 See Documentation/scsi/st.txt. 2175 See Documentation/scsi/st.txt.
2175 2176
2177 stacktrace [FTRACE]
2178 Enabled the stack tracer on boot up.
2179
2176 sti= [PARISC,HW] 2180 sti= [PARISC,HW]
2177 Format: <num> 2181 Format: <num>
2178 Set the STI (builtin display/keyboard on the HP-PARISC 2182 Set the STI (builtin display/keyboard on the HP-PARISC