ftrace.h 420 字节
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
#define MCOUNT_INSN_SIZE  18
22

23 24
#define ARCH_SUPPORTS_FTRACE_OPS 1

25
#endif /* _ASM_S390_FTRACE_H */