Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
ftrace.h
Go to the documentation of this file.
1 #ifndef _ASM_S390_FTRACE_H
2 #define _ASM_S390_FTRACE_H
3 
4 #ifndef __ASSEMBLY__
5 
6 extern void _mcount(void);
7 
8 struct dyn_arch_ftrace { };
9 
10 #define MCOUNT_ADDR ((long)_mcount)
11 
12 #ifdef CONFIG_64BIT
13 #define MCOUNT_INSN_SIZE 12
14 #else
15 #define MCOUNT_INSN_SIZE 20
16 #endif
17 
18 static inline unsigned long ftrace_call_adjust(unsigned long addr)
19 {
20  return addr;
21 }
22 
23 #endif /* __ASSEMBLY__ */
24 #endif /* _ASM_S390_FTRACE_H */