aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/ktest
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2021-06-17 16:20:41 -0400
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2021-06-17 16:23:42 -0400
commit2db7ab6b4c962e2499c86e8fe9cb1369ebaf91d1 (patch)
treed66b1e9baef886696cd61f567342bfb22d2c3eb5 /tools/testing/ktest
parenttracing: Add tp_printk_stop_on_boot option (diff)
downloadlinux-dev-2db7ab6b4c962e2499c86e8fe9cb1369ebaf91d1.tar.xz
linux-dev-2db7ab6b4c962e2499c86e8fe9cb1369ebaf91d1.zip
tracing: Have ftrace_dump_on_oops kernel parameter take numbers
The kernel parameter for ftrace_dump_on_oops can take a single assignment. That is, it can be: ftrace_dump_on_oops or ftrace_dump_on_oops=orig_cpu But the content in the sysctl file is a number. 0 for disabled 1 for ftrace_dump_on_oops (all CPUs) 2 for ftrace_dump_on_oops (orig CPU) Allow the kernel command line to take a number as well to match the sysctl numbers. That is: ftrace_dump_on_oops=1 is the same as ftrace_dump_on_oops and ftrace_dump_on_oops=2 is the same as ftrace_dump_on_oops=orig_cpu Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'tools/testing/ktest')
0 files changed, 0 insertions, 0 deletions