aboutsummaryrefslogtreecommitdiff
path: root/include/linux/ftrace_irq.h
blob: 0b4df55d7a749848f80367058391ebb3955f626e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef _LINUX_FTRACE_IRQ_H
#define _LINUX_FTRACE_IRQ_H


#if defined(CONFIG_DYNAMIC_FTRACE) || defined(CONFIG_FUNCTION_RET_TRACER)
extern void ftrace_nmi_enter(void);
extern void ftrace_nmi_exit(void);
#else
static inline void ftrace_nmi_enter(void) { }
static inline void ftrace_nmi_exit(void) { }
#endif

#endif /* _LINUX_FTRACE_IRQ_H */