diff options
author | Steven Rostedt <srostedt@redhat.com> | 2008-05-12 15:20:44 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2008-05-23 14:40:36 -0400 |
commit | 60a11774b38fef1ab90b18c5353bd1c7c4d311c8 (patch) | |
tree | e2a6fd066b0dba6dcd776d07383e2932055cf66a /kernel/trace/trace_functions.c | |
parent | e1c08bdd9fa73e44096e5a82c0d5928b04ab02c8 (diff) |
ftrace: add self-tests
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/trace/trace_functions.c')
-rw-r--r-- | kernel/trace/trace_functions.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/trace/trace_functions.c b/kernel/trace/trace_functions.c index 82988c5336e0..5d8ad7a09605 100644 --- a/kernel/trace/trace_functions.c +++ b/kernel/trace/trace_functions.c | |||
@@ -63,6 +63,9 @@ static struct tracer function_trace __read_mostly = | |||
63 | .init = function_trace_init, | 63 | .init = function_trace_init, |
64 | .reset = function_trace_reset, | 64 | .reset = function_trace_reset, |
65 | .ctrl_update = function_trace_ctrl_update, | 65 | .ctrl_update = function_trace_ctrl_update, |
66 | #ifdef CONFIG_FTRACE_SELFTEST | ||
67 | .selftest = trace_selftest_startup_function, | ||
68 | #endif | ||
66 | }; | 69 | }; |
67 | 70 | ||
68 | static __init int init_function_trace(void) | 71 | static __init int init_function_trace(void) |