ftrace.h 446 字节
Newer Older
1 2 3 4
#ifndef _ASM_S390_FTRACE_H
#define _ASM_S390_FTRACE_H

#ifndef __ASSEMBLY__
5

6
extern void _mcount(void);
7
extern char ftrace_graph_caller_end;
8 9 10 11 12

struct dyn_arch_ftrace { };

#define MCOUNT_ADDR ((long)_mcount)

13

14 15
static inline unsigned long ftrace_call_adjust(unsigned long addr)
{
16
	return addr;
17 18 19
}

#endif /* __ASSEMBLY__ */
20 21 22 23 24 25 26

#ifdef CONFIG_64BIT
#define MCOUNT_INSN_SIZE  12
#else
#define MCOUNT_INSN_SIZE  22
#endif

27
#endif /* _ASM_S390_FTRACE_H */