Re: [PATCH 02/11] kernel/trace: move stack_tracer_enabled sysctl to its own file

From: Steven Rostedt
Date: Sun Feb 20 2022 - 12:05:46 EST


On Sun, 20 Feb 2022 14:00:17 +0800
tangmeng <tangmeng@xxxxxxxxxxxxx> wrote:

> kernel/sysctl.c is a kitchen sink where everyone leaves their dirty
> dishes, this makes it very difficult to maintain.
>
> To help with this maintenance let's start by moving sysctls to places
> where they actually belong. The proc sysctl maintainers do not want to
> know what sysctl knobs you wish to add for your own piece of code, we
> just care about the core logic.
>
> All filesystem syctls now get reviewed by fs folks. This commit
> follows the commit of fs, move the stack_tracer_enabled sysctl to its
> own file, kernel/trace/trace_stack.c.
>
> Signed-off-by: tangmeng <tangmeng@xxxxxxxxxxxxx>

Acked-by: Steven Rostedt (Google) <rostedt@xxxxxxxxxxx>

-- Steve