diff options
author | liaohua <liaohua4@huawei.com> | 2022-04-07 10:29:48 +0300 |
---|---|---|
committer | Luis Chamberlain <mcgrof@kernel.org> | 2022-04-21 21:40:59 +0300 |
commit | 988f11e046401f8561c4afefa506a50f0203de40 (patch) | |
tree | a692772598b543025cc940cfe402f9cee1f43839 /kernel/sysctl.c | |
parent | f8b7d2b4c192118c37ab24c0540d1134dd0104d8 (diff) | |
download | linux-988f11e046401f8561c4afefa506a50f0203de40.tar.xz |
latencytop: move sysctl to its own file
This moves latencytop sysctl to kernel/latencytop.c
Signed-off-by: liaohua <liaohua4@huawei.com>
Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index c0fdf465a93d..b60345cbadf0 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -64,7 +64,6 @@ #include <linux/kexec.h> #include <linux/mount.h> #include <linux/userfaultfd_k.h> -#include <linux/latencytop.h> #include <linux/pid.h> #include "../lib/kstrtox.h" @@ -1624,15 +1623,6 @@ static struct ctl_table kern_table[] = { .extra2 = SYSCTL_ONE, }, #endif -#ifdef CONFIG_LATENCYTOP - { - .procname = "latencytop", - .data = &latencytop_enabled, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = sysctl_latencytop, - }, -#endif { .procname = "print-fatal-signals", .data = &print_fatal_signals, |