diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 3d56fe7570da..c83f566e940a 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -487,6 +487,16 @@ static struct ctl_table kern_table[] = { | |||
487 | .proc_handler = &ftrace_enable_sysctl, | 487 | .proc_handler = &ftrace_enable_sysctl, |
488 | }, | 488 | }, |
489 | #endif | 489 | #endif |
490 | #ifdef CONFIG_TRACING | ||
491 | { | ||
492 | .ctl_name = CTL_UNNUMBERED, | ||
493 | .procname = "ftrace_dump_on_oops", | ||
494 | .data = &ftrace_dump_on_oops, | ||
495 | .maxlen = sizeof(int), | ||
496 | .mode = 0644, | ||
497 | .proc_handler = &proc_dointvec, | ||
498 | }, | ||
499 | #endif | ||
490 | #ifdef CONFIG_MODULES | 500 | #ifdef CONFIG_MODULES |
491 | { | 501 | { |
492 | .ctl_name = KERN_MODPROBE, | 502 | .ctl_name = KERN_MODPROBE, |