diff options
Diffstat (limited to 'kernel/trace/trace_selftest.c')
-rw-r--r-- | kernel/trace/trace_selftest.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/trace/trace_selftest.c b/kernel/trace/trace_selftest.c index 92f4acb7740c..83e55a2000cc 100644 --- a/kernel/trace/trace_selftest.c +++ b/kernel/trace/trace_selftest.c | |||
@@ -107,14 +107,8 @@ static int trace_test_buffer(struct trace_array *tr, unsigned long *count) | |||
107 | 107 | ||
108 | #ifdef CONFIG_DYNAMIC_FTRACE | 108 | #ifdef CONFIG_DYNAMIC_FTRACE |
109 | 109 | ||
110 | #define DYN_FTRACE_TEST_NAME trace_selftest_dynamic_test_func | ||
111 | #define __STR(x) #x | 110 | #define __STR(x) #x |
112 | #define STR(x) __STR(x) | 111 | #define STR(x) __STR(x) |
113 | static int DYN_FTRACE_TEST_NAME(void) | ||
114 | { | ||
115 | /* used to call mcount */ | ||
116 | return 0; | ||
117 | } | ||
118 | 112 | ||
119 | /* Test dynamic code modification and ftrace filters */ | 113 | /* Test dynamic code modification and ftrace filters */ |
120 | int trace_selftest_startup_dynamic_tracing(struct tracer *trace, | 114 | int trace_selftest_startup_dynamic_tracing(struct tracer *trace, |