summaryrefslogtreecommitdiffstats
path: root/kernel/trace/trace_selftest_dynamic.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/trace/trace_selftest_dynamic.c')
-rw-r--r--kernel/trace/trace_selftest_dynamic.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/trace/trace_selftest_dynamic.c b/kernel/trace/trace_selftest_dynamic.c
new file mode 100644
index 000000000000..54dd77cce5bf
--- /dev/null
+++ b/kernel/trace/trace_selftest_dynamic.c
@@ -0,0 +1,7 @@
+#include "trace.h"
+
+int DYN_FTRACE_TEST_NAME(void)
+{
+ /* used to call mcount */
+ return 0;
+}