diff options
author | Frederic Weisbecker <fweisbec@gmail.com> | 2009-02-07 21:33:57 +0100 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-02-09 10:51:37 +0100 |
commit | 7447dce96f2233d250bc39a4a10a42f7c3dd46fc (patch) | |
tree | c02c991cca658e69a0c83c1a93b068df1d5caa53 /kernel/trace/trace.h | |
parent | 2db270a80b8f2238e536876cfb3987af02684df8 (diff) | |
download | kernel-crypto-7447dce96f2233d250bc39a4a10a42f7c3dd46fc.tar.gz kernel-crypto-7447dce96f2233d250bc39a4a10a42f7c3dd46fc.tar.xz kernel-crypto-7447dce96f2233d250bc39a4a10a42f7c3dd46fc.zip |
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 b9838f4a692..a011ec06222 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -500,6 +500,8 @@ extern int DYN_FTRACE_TEST_NAME(void); #ifdef CONFIG_FTRACE_STARTUP_TEST extern int trace_selftest_startup_function(struct tracer *trace, struct trace_array *tr); +extern int trace_selftest_startup_function_graph(struct tracer *trace, + struct trace_array *tr); extern int trace_selftest_startup_irqsoff(struct tracer *trace, struct trace_array *tr); extern int trace_selftest_startup_preemptoff(struct tracer *trace, |