aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2009-07-29 11:11:12 -0400
committerFrederic Weisbecker <fweisbec@gmail.com>2009-08-06 01:28:05 -0400
commit5e5bf483986ad86ad25f25eec5299c86eb2d1c57 (patch)
tree51ca52240afe82bab1366b1677d9f8a55bbee6fb /kernel/trace/trace.c
parent07868b086cca784f4b532fc2ab574ec3a73b468a (diff)
tracing/core: Turn ftrace_cpu_disabled into a global var
In order to prepare the moving of the function graph tracer insertion helpers from trace.c to trace_functions_graph.c, we need to export the ftrace_cpu_disabled variable. Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Cc: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'kernel/trace/trace.c')
-rw-r--r--kernel/trace/trace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c
index 38a4a3ee749d..b6211d604131 100644
--- a/kernel/trace/trace.c
+++ b/kernel/trace/trace.c
@@ -89,7 +89,7 @@ static int dummy_set_flag(u32 old_flags, u32 bit, int set)
89 */ 89 */
90static int tracing_disabled = 1; 90static int tracing_disabled = 1;
91 91
92static DEFINE_PER_CPU(local_t, ftrace_cpu_disabled); 92DEFINE_PER_CPU(local_t, ftrace_cpu_disabled);
93 93
94static inline void ftrace_disable_cpu(void) 94static inline void ftrace_disable_cpu(void)
95{ 95{