summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_selftest_dynamic.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2011-05-06 00:08:51 -0400
committerSteven Rostedt <rostedt@goodmis.org>2011-05-18 19:24:51 -0400
commit95950c2ecb31314ef827428e43ff771cf3b037e5 (patch)
tree1ecf9605cc280d362a5a9ddf96bf538cdb47c1aa /kernel/trace/trace_selftest_dynamic.c
parent936e074b286ae779f134312178dbab139ee7ea52 (diff)
downloadblackbird-op-linux-95950c2ecb31314ef827428e43ff771cf3b037e5.tar.gz
blackbird-op-linux-95950c2ecb31314ef827428e43ff771cf3b037e5.zip
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.c6
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)
/* used to call mcount */
return 0;
}
+
+int DYN_FTRACE_TEST_NAME2(void)
+{
+ /* used to call mcount */
+ return 0;
+}
OpenPOWER on IntegriCloud