File Index
Files and directories
Sign in
FILE

ftrace.h

File preview with syntax highlighting.

linux-6.19.14/arch/parisc/include/asm/ftrace.h C
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _ASM_PARISC_FTRACE_H
 3#define _ASM_PARISC_FTRACE_H
 4
 5#ifndef __ASSEMBLER__
 6extern void mcount(void);
 7
 8#define MCOUNT_ADDR		((unsigned long)mcount)
 9#define MCOUNT_INSN_SIZE	4
10#define CC_USING_NOP_MCOUNT
11#define ARCH_SUPPORTS_FTRACE_OPS 1
12extern unsigned long sys_call_table[];
13
14extern unsigned long return_address(unsigned int);
15struct ftrace_regs;
16extern void ftrace_function_trampoline(unsigned long parent,
17		unsigned long self_addr, unsigned long org_sp_gr3,
18		struct ftrace_regs *fregs);
19
20#ifdef CONFIG_DYNAMIC_FTRACE
21extern void ftrace_caller(void);
22
23struct dyn_arch_ftrace {
24};
25
26unsigned long ftrace_call_adjust(unsigned long addr);
27
28#endif
29
30#define ftrace_return_address(n) return_address(n)
31
32#endif /* __ASSEMBLER__ */
33
34#endif /* _ASM_PARISC_FTRACE_H */
~/ Read-only file preview.