summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@kernel.org>2025-01-08 14:55:58 +0300
committerJoel Granados <joel.granados@kernel.org>2025-04-09 14:32:16 +0300
commit67049b53e06fa1758df1463789f286a7cba67c50 (patch)
tree4d659103eba1d0f2e3d7f020566fbb31f01df6e9 /include
parentdd293df6395a2c9e0fc4faa8defeceaa907e7717 (diff)
downloadlinux-67049b53e06fa1758df1463789f286a7cba67c50.tar.xz
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 'include')
-rw-r--r--include/linux/ftrace.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h
index 59774513ae45..95851a6fb942 100644
--- a/include/linux/ftrace.h
+++ b/include/linux/ftrace.h
@@ -569,8 +569,6 @@ static inline void arch_ftrace_set_direct_caller(struct ftrace_regs *fregs,
#ifdef CONFIG_STACK_TRACER
-extern int stack_tracer_enabled;
-
int stack_trace_sysctl(const struct ctl_table *table, int write, void *buffer,
size_t *lenp, loff_t *ppos);