diff options
| author | Joel Granados <joel.granados@kernel.org> | 2025-01-08 12:55:58 +0100 |
|---|---|---|
| committer | Joel Granados <joel.granados@kernel.org> | 2025-04-09 13:32:16 +0200 |
| commit | 67049b53e06fa1758df1463789f286a7cba67c50 (patch) | |
| tree | 4d659103eba1d0f2e3d7f020566fbb31f01df6e9 /kernel/sysctl.c | |
| parent | tracing: Move trace sysctls into trace.c (diff) | |
| download | linux-67049b53e06fa1758df1463789f286a7cba67c50.tar.gz linux-67049b53e06fa1758df1463789f286a7cba67c50.zip | |
stack_tracer: move sysctl registration to kernel/trace/trace_stack.c
Move stack_tracer_enabled into trace_stack_sysctl_table. This is part of
a greater effort to move ctl tables into their respective subsystems
which will reduce the merge conflicts in kernel/sysctl.c.
Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Joel Granados <joel.granados@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 324ae43a3d50..e5430594dfd6 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c @@ -58,7 +58,6 @@ #ifdef CONFIG_X86 #include <asm/nmi.h> -#include <asm/stacktrace.h> #include <asm/io.h> #endif #ifdef CONFIG_SPARC @@ -1652,15 +1651,6 @@ static const struct ctl_table kern_table[] = { .proc_handler = proc_dointvec, }, #endif -#ifdef CONFIG_STACK_TRACER - { - .procname = "stack_tracer_enabled", - .data = &stack_tracer_enabled, - .maxlen = sizeof(int), - .mode = 0644, - .proc_handler = stack_trace_sysctl, - }, -#endif #ifdef CONFIG_MODULES { .procname = "modprobe", |
