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_selftest_dynamic.c | |
parent | 936e074b286ae779f134312178dbab139ee7ea52 (diff) |
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_selftest_dynamic.c')
-rw-r--r-- | kernel/trace/trace_selftest_dynamic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/trace/trace_selftest_dynamic.c b/kernel/trace/trace_selftest_dynamic.c index 54dd77cce5bf..b4c475a0a48b 100644 --- a/kernel/trace/trace_selftest_dynamic.c +++ b/kernel/trace/trace_selftest_dynamic.c | |||
@@ -5,3 +5,9 @@ int DYN_FTRACE_TEST_NAME(void) | |||
5 | /* used to call mcount */ | 5 | /* used to call mcount */ |
6 | return 0; | 6 | return 0; |
7 | } | 7 | } |
8 | |||
9 | int DYN_FTRACE_TEST_NAME2(void) | ||
10 | { | ||
11 | /* used to call mcount */ | ||
12 | return 0; | ||
13 | } | ||