diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 16e465103020..188c7fabeec0 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -593,6 +593,22 @@ static struct ctl_table kern_table[] = { .extra1 = &one, }, #endif +#ifdef CONFIG_SCHEDSTATS + { + .procname = "sched_latency_panic_threshold_us", + .data = &sysctl_sched_latency_panic_threshold, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec_minmax, + }, + { + .procname = "sched_latency_warn_threshold_us", + .data = &sysctl_sched_latency_warn_threshold, + .maxlen = sizeof(unsigned int), + .mode = 0644, + .proc_handler = proc_dointvec_minmax, + }, +#endif #ifdef CONFIG_PROVE_LOCKING { .procname = "prove_locking", |