aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/sysctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r--kernel/sysctl.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index f6d2e57b99a0..0d562d6531eb 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -46,6 +46,7 @@
46#include <linux/nfs_fs.h> 46#include <linux/nfs_fs.h>
47#include <linux/acpi.h> 47#include <linux/acpi.h>
48#include <linux/reboot.h> 48#include <linux/reboot.h>
49#include <linux/ftrace.h>
49 50
50#include <asm/uaccess.h> 51#include <asm/uaccess.h>
51#include <asm/processor.h> 52#include <asm/processor.h>
@@ -264,6 +265,14 @@ static struct ctl_table kern_table[] = {
264 }, 265 },
265 { 266 {
266 .ctl_name = CTL_UNNUMBERED, 267 .ctl_name = CTL_UNNUMBERED,
268 .procname = "sched_shares_ratelimit",
269 .data = &sysctl_sched_shares_ratelimit,
270 .maxlen = sizeof(unsigned int),
271 .mode = 0644,
272 .proc_handler = &proc_dointvec,
273 },
274 {
275 .ctl_name = CTL_UNNUMBERED,
267 .procname = "sched_child_runs_first", 276 .procname = "sched_child_runs_first",
268 .data = &sysctl_sched_child_runs_first, 277 .data = &sysctl_sched_child_runs_first,
269 .maxlen = sizeof(unsigned int), 278 .maxlen = sizeof(unsigned int),
@@ -453,6 +462,16 @@ static struct ctl_table kern_table[] = {
453 .mode = 0644, 462 .mode = 0644,
454 .proc_handler = &proc_dointvec, 463 .proc_handler = &proc_dointvec,
455 }, 464 },
465#ifdef CONFIG_FTRACE
466 {
467 .ctl_name = CTL_UNNUMBERED,
468 .procname = "ftrace_enabled",
469 .data = &ftrace_enabled,
470 .maxlen = sizeof(int),
471 .mode = 0644,
472 .proc_handler = &ftrace_enable_sysctl,
473 },
474#endif
456#ifdef CONFIG_KMOD 475#ifdef CONFIG_KMOD
457 { 476 {
458 .ctl_name = KERN_MODPROBE, 477 .ctl_name = KERN_MODPROBE,