Steven Rostedt | 6a60dd1 | 2008-11-06 15:55:21 -0500 | [diff] [blame] | 1 | #ifndef _LINUX_FTRACE_IRQ_H |
| 2 | #define _LINUX_FTRACE_IRQ_H |
| 3 | |
| 4 | |
Frederic Weisbecker | fb52607 | 2008-11-25 21:07:04 +0100 | [diff] [blame] | 5 | #if defined(CONFIG_DYNAMIC_FTRACE) || defined(CONFIG_FUNCTION_GRAPH_TRACER) |
Steven Rostedt | 6a60dd1 | 2008-11-06 15:55:21 -0500 | [diff] [blame] | 6 | extern void ftrace_nmi_enter(void); |
| 7 | extern void ftrace_nmi_exit(void); |
| 8 | #else |
| 9 | static inline void ftrace_nmi_enter(void) { } |
| 10 | static inline void ftrace_nmi_exit(void) { } |
| 11 | #endif |
| 12 | |
| 13 | #endif /* _LINUX_FTRACE_IRQ_H */ |