aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace.h
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.h
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.h')
-rw-r--r--kernel/trace/trace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h
index 758b0dbed55..c7e92732982 100644
--- a/kernel/trace/trace.h
+++ b/kernel/trace/trace.h
@@ -519,6 +519,7 @@ extern int DYN_FTRACE_TEST_NAME(void);
519 519
520extern int ring_buffer_expanded; 520extern int ring_buffer_expanded;
521extern bool tracing_selftest_disabled; 521extern bool tracing_selftest_disabled;
522DECLARE_PER_CPU(local_t, ftrace_cpu_disabled);
522 523
523#ifdef CONFIG_FTRACE_STARTUP_TEST 524#ifdef CONFIG_FTRACE_STARTUP_TEST
524extern int trace_selftest_startup_function(struct tracer *trace, 525extern int trace_selftest_startup_function(struct tracer *trace,