OSDN Git Service

ftrace: Remove obsoleted code from ftrace and task_struct
authorGaosheng Cui <cuigaosheng1@huawei.com>
Fri, 23 Sep 2022 09:00:12 +0000 (17:00 +0800)
committerSteven Rostedt (Google) <rostedt@goodmis.org>
Tue, 27 Sep 2022 18:48:26 +0000 (14:48 -0400)
commit3008119a3dd8052b7e5c07488e20a7abb0d287f2
tree59cd96651ed4703691aaa7c242666028afc6b1dc
parentc0a581d7126c0bbc96163276f585fd7b4e4d8d0e
ftrace: Remove obsoleted code from ftrace and task_struct

The trace of "struct task_struct" was no longer used since
commit 345ddcc882d8 ("ftrace: Have set_ftrace_pid use the
bitmap like events do"), and the functions about flags for
current->trace is useless, so remove them.

Link: https://lkml.kernel.org/r/20220923090012.505990-1-cuigaosheng1@huawei.com
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
include/linux/ftrace.h
include/linux/sched.h