]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0d8d9b61c55c80edc20a59786b3f4c492726d003
tree59cd96651ed4703691aaa7c242666028afc6b1dc
parent1712d593d2c43dbe2bf22d2a4a74be790f20f4c5
ftrace: Remove obsoleted code from ftrace and task_struct

The trace of "struct task_struct" was no longer used since
commit eeb9a5a34232 ("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