diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/ftrace.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/ftrace.h b/include/linux/ftrace.h index 0d3714e7110b..017ab44d572a 100644 --- a/include/linux/ftrace.h +++ b/include/linux/ftrace.h | |||
@@ -120,4 +120,12 @@ static inline void tracer_disable(void) | |||
120 | # define trace_preempt_off(a0, a1) do { } while (0) | 120 | # define trace_preempt_off(a0, a1) do { } while (0) |
121 | #endif | 121 | #endif |
122 | 122 | ||
123 | #ifdef CONFIG_CONTEXT_SWITCH_TRACER | ||
124 | extern void | ||
125 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3); | ||
126 | #else | ||
127 | static inline void | ||
128 | ftrace_special(unsigned long arg1, unsigned long arg2, unsigned long arg3) { } | ||
129 | #endif | ||
130 | |||
123 | #endif /* _LINUX_FTRACE_H */ | 131 | #endif /* _LINUX_FTRACE_H */ |