]> 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)
commit6bb875d8b811f3cf0de5f729487f064445765260
tree59cd96651ed4703691aaa7c242666028afc6b1dc
parent53e77f05e9655a8971a36ef764838d5055243a38
ftrace: Remove obsoleted code from ftrace and task_struct

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