Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v2.6.39-rc4 26 lines 477 B view raw
1#ifndef _ASM_S390_FTRACE_H 2#define _ASM_S390_FTRACE_H 3 4#ifndef __ASSEMBLY__ 5 6extern void _mcount(void); 7 8struct dyn_arch_ftrace { }; 9 10#define MCOUNT_ADDR ((long)_mcount) 11 12#ifdef CONFIG_64BIT 13#define MCOUNT_INSN_SIZE 12 14#define MCOUNT_OFFSET 8 15#else 16#define MCOUNT_INSN_SIZE 20 17#define MCOUNT_OFFSET 4 18#endif 19 20static inline unsigned long ftrace_call_adjust(unsigned long addr) 21{ 22 return addr - MCOUNT_OFFSET; 23} 24 25#endif /* __ASSEMBLY__ */ 26#endif /* _ASM_S390_FTRACE_H */