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 29116652dca8..18943985ddee 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>
@@ -266,6 +267,14 @@ static struct ctl_table kern_table[] = {
266 }, 267 },
267 { 268 {
268 .ctl_name = CTL_UNNUMBERED, 269 .ctl_name = CTL_UNNUMBERED,
270 .procname = "sched_shares_ratelimit",
271 .data = &sysctl_sched_shares_ratelimit,
272 .maxlen = sizeof(unsigned int),
273 .mode = 0644,
274 .proc_handler = &proc_dointvec,
275 },
276 {
277 .ctl_name = CTL_UNNUMBERED,
269 .procname = "sched_child_runs_first", 278 .procname = "sched_child_runs_first",
270 .data = &sysctl_sched_child_runs_first, 279 .data = &sysctl_sched_child_runs_first,
271 .maxlen = sizeof(unsigned int), 280 .maxlen = sizeof(unsigned int),
@@ -455,6 +464,16 @@ static struct ctl_table kern_table[] = {
455 .mode = 0644, 464 .mode = 0644,
456 .proc_handler = &proc_dointvec, 465 .proc_handler = &proc_dointvec,
457 }, 466 },
467#ifdef CONFIG_FTRACE
468 {
469 .ctl_name = CTL_UNNUMBERED,
470 .procname = "ftrace_enabled",
471 .data = &ftrace_enabled,
472 .maxlen = sizeof(int),
473 .mode = 0644,
474 .proc_handler = &ftrace_enable_sysctl,
475 },
476#endif
458#ifdef CONFIG_KMOD 477#ifdef CONFIG_KMOD
459 { 478 {
460 .ctl_name = KERN_MODPROBE, 479 .ctl_name = KERN_MODPROBE,