tracing: Remove unused ftrace_cpu_disabled per cpu variable
authorDmitry Safonov <0x7f454c46@gmail.com>
Fri, 6 Nov 2015 19:07:26 +0000 (22:07 +0300)
committerSteven Rostedt <rostedt@goodmis.org>
Sat, 7 Nov 2015 18:25:14 +0000 (13:25 -0500)
commit03e88ae6b369da2a26a6e09ad165e57d210789cd
tree263c536f2003d6cd3779b85cdf4988ab9b88c0ca
parent8b1291994d8e5e621a8af7e165b106e50d04bbf1
tracing: Remove unused ftrace_cpu_disabled per cpu variable

Since the ring buffer is lockless, there is no need to disable ftrace on
CPU. And no one doing so: after commit 68179686ac67cb ("tracing: Remove
ftrace_disable/enable_cpu()") ftrace_cpu_disabled stays the same after
initialization, nothing changes it.
ftrace_cpu_disabled shouldn't be used by any external module since it
disables only function and graph_function tracers but not any other
tracer.

Link: http://lkml.kernel.org/r/1446836846-22239-1-git-send-email-0x7f454c46@gmail.com
Signed-off-by: Dmitry Safonov <0x7f454c46@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
kernel/trace/trace.c
kernel/trace/trace.h
kernel/trace/trace_functions_graph.c