diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-02-07 15:33:57 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 04:51:37 -0500 |
commit | 7447dce96f2233d250bc39a4a10a42f7c3dd46fc (patch) | |
tree | c02c991cca658e69a0c83c1a93b068df1d5caa53 /kernel/trace/trace.h | |
parent | 2db270a80b8f2238e536876cfb3987af02684df8 (diff) |
tracing/function-graph-tracer: provide a selftest for the function graph tracer
Making it more easy to do a basic regression test for this tracer.
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/trace/trace.h')
-rw-r--r-- | kernel/trace/trace.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index b9838f4a6929..a011ec062225 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h | |||
@@ -500,6 +500,8 @@ extern int DYN_FTRACE_TEST_NAME(void); | |||
500 | #ifdef CONFIG_FTRACE_STARTUP_TEST | 500 | #ifdef CONFIG_FTRACE_STARTUP_TEST |
501 | extern int trace_selftest_startup_function(struct tracer *trace, | 501 | extern int trace_selftest_startup_function(struct tracer *trace, |
502 | struct trace_array *tr); | 502 | struct trace_array *tr); |
503 | extern int trace_selftest_startup_function_graph(struct tracer *trace, | ||
504 | struct trace_array *tr); | ||
503 | extern int trace_selftest_startup_irqsoff(struct tracer *trace, | 505 | extern int trace_selftest_startup_irqsoff(struct tracer *trace, |
504 | struct trace_array *tr); | 506 | struct trace_array *tr); |
505 | extern int trace_selftest_startup_preemptoff(struct tracer *trace, | 507 | extern int trace_selftest_startup_preemptoff(struct tracer *trace, |