diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-05-06 00:08:51 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-05-18 19:24:51 -0400 |
commit | 95950c2ecb31314ef827428e43ff771cf3b037e5 (patch) | |
tree | 1ecf9605cc280d362a5a9ddf96bf538cdb47c1aa /kernel/trace/trace.h | |
parent | 936e074b286ae779f134312178dbab139ee7ea52 (diff) | |
download | op-kernel-dev-95950c2ecb31314ef827428e43ff771cf3b037e5.zip op-kernel-dev-95950c2ecb31314ef827428e43ff771cf3b037e5.tar.gz |
ftrace: Add self-tests for multiple function trace users
Add some basic sanity tests for multiple users of the function
tracer at startup.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
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 5e9dfc6..6b69c4b 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -419,6 +419,8 @@ extern void trace_find_cmdline(int pid, char comm[]); extern unsigned long ftrace_update_tot_cnt; #define DYN_FTRACE_TEST_NAME trace_selftest_dynamic_test_func extern int DYN_FTRACE_TEST_NAME(void); +#define DYN_FTRACE_TEST_NAME2 trace_selftest_dynamic_test_func2 +extern int DYN_FTRACE_TEST_NAME2(void); #endif extern int ring_buffer_expanded; |