aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/kernel-parameters.txt
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2012-11-01 22:56:07 -0400
committerSteven Rostedt <rostedt@goodmis.org>2012-11-02 10:21:53 -0400
commit7bcfaf54f591a0775254c4ea679faf615152ee3a (patch)
tree697df255d0d3961b568c8e17f527f52175d7c3fa /Documentation/kernel-parameters.txt
parent0d5c6e1c19bab82fad4837108c2902f557d62a04 (diff)
tracing: Add trace_options kernel command line parameter
Add trace_options to the kernel command line parameter to be able to set options at early boot. For example, to enable stack dumps of events, add the following: trace_options=stacktrace This along with the trace_event option, you can get not only traces of the events but also the stack dumps with them. Requested-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r--Documentation/kernel-parameters.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 9776f068306b..2b48c52464a1 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -2859,6 +2859,22 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
2859 to facilitate early boot debugging. 2859 to facilitate early boot debugging.
2860 See also Documentation/trace/events.txt 2860 See also Documentation/trace/events.txt
2861 2861
2862 trace_options=[option-list]
2863 [FTRACE] Enable or disable tracer options at boot.
2864 The option-list is a comma delimited list of options
2865 that can be enabled or disabled just as if you were
2866 to echo the option name into
2867
2868 /sys/kernel/debug/tracing/trace_options
2869
2870 For example, to enable stacktrace option (to dump the
2871 stack trace of each event), add to the command line:
2872
2873 trace_options=stacktrace
2874
2875 See also Documentation/trace/ftrace.txt "trace options"
2876 section.
2877
2862 transparent_hugepage= 2878 transparent_hugepage=
2863 [KNL] 2879 [KNL]
2864 Format: [always|madvise|never] 2880 Format: [always|madvise|never]