Re: [PATCH] ftrace: Replace ftrace_disabled variable with ftrace_is_dead function

2024-04-19 Thread Bang Li
On 2024/4/20 9:40, Steven Rostedt wrote: On Fri, 19 Apr 2024 22:38:44 +0800 "Bang Li" wrote: Use the existing function ftrace_is_dead to replace the variable to make the code clearer. Signed-off-by: Bang Li --- kernel/trace/ftrace.c | 46 +

[PATCH] ftrace: Replace ftrace_disabled variable with ftrace_is_dead function

2024-04-19 Thread Bang Li
Use the existing function ftrace_is_dead to replace the variable to make the code clearer. Signed-off-by: Bang Li --- kernel/trace/ftrace.c | 46 +-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/kernel/trace/ftrace.c b/kernel/trace