diff options
author | 2022-09-23 17:00:12 +0800 | |
---|---|---|
committer | 2022-09-27 14:48:26 -0400 | |
commit | 3008119a3dd8052b7e5c07488e20a7abb0d287f2 (patch) | |
tree | 59cd96651ed4703691aaa7c242666028afc6b1dc /include/linux/sched.h | |
parent | tracing: Disable interrupt or preemption before acquiring arch_spinlock_t (diff) | |
download | wireguard-linux-3008119a3dd8052b7e5c07488e20a7abb0d287f2.tar.xz wireguard-linux-3008119a3dd8052b7e5c07488e20a7abb0d287f2.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | include/linux/sched.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index e7b2f8a5c711..c7ee04e9147a 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h @@ -1381,9 +1381,6 @@ struct task_struct { #endif #ifdef CONFIG_TRACING - /* State flags for use by tracers: */ - unsigned long trace; - /* Bitmask and counter of trace recursion: */ unsigned long trace_recursion; #endif /* CONFIG_TRACING */ |