aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/trace/ftrace.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/trace/ftrace.txt')
-rw-r--r--Documentation/trace/ftrace.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/Documentation/trace/ftrace.txt b/Documentation/trace/ftrace.txt
index 03485bfbd797..52011815c905 100644
--- a/Documentation/trace/ftrace.txt
+++ b/Documentation/trace/ftrace.txt
@@ -1337,12 +1337,14 @@ ftrace_dump_on_oops must be set. To set ftrace_dump_on_oops, one
1337can either use the sysctl function or set it via the proc system 1337can either use the sysctl function or set it via the proc system
1338interface. 1338interface.
1339 1339
1340 sysctl kernel.ftrace_dump_on_oops=1 1340 sysctl kernel.ftrace_dump_on_oops=n
1341 1341
1342or 1342or
1343 1343
1344 echo 1 > /proc/sys/kernel/ftrace_dump_on_oops 1344 echo n > /proc/sys/kernel/ftrace_dump_on_oops
1345 1345
1346If n = 1, ftrace will dump buffers of all CPUs, if n = 2 ftrace will
1347only dump the buffer of the CPU that triggered the oops.
1346 1348
1347Here's an example of such a dump after a null pointer 1349Here's an example of such a dump after a null pointer
1348dereference in a kernel module: 1350dereference in a kernel module: