ftrace.h (f13327864f94c3a0e6acca923df537d20059639f) ftrace.h (c68e3206862f647117a46a73af76764d750c05bd)
1#ifndef __ASM_SH_FTRACE_H
2#define __ASM_SH_FTRACE_H
3
4#ifdef CONFIG_FUNCTION_TRACER
5
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
1#ifndef __ASM_SH_FTRACE_H
2#define __ASM_SH_FTRACE_H
3
4#ifdef CONFIG_FUNCTION_TRACER
5
6#define MCOUNT_INSN_SIZE 4 /* sizeof mcount call */
7#define FTRACE_SYSCALL_MAX (NR_syscalls - 1)
7#define FTRACE_SYSCALL_MAX NR_syscalls
8
9#ifndef __ASSEMBLY__
10extern void mcount(void);
11
12#define MCOUNT_ADDR ((long)(mcount))
13
14#ifdef CONFIG_DYNAMIC_FTRACE
15#define CALL_ADDR ((long)(ftrace_call))

--- 23 unchanged lines hidden ---
8
9#ifndef __ASSEMBLY__
10extern void mcount(void);
11
12#define MCOUNT_ADDR ((long)(mcount))
13
14#ifdef CONFIG_DYNAMIC_FTRACE
15#define CALL_ADDR ((long)(ftrace_call))

--- 23 unchanged lines hidden ---