mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 07:50:51 +07:00
fc79168a7c
This patch adds support for the TIF_SYSCALL_TRACEPOINT on the parisc architecture. Basically, it calls the appropriate tracepoints on syscall entry and exit. Signed-off-by: Helge Deller <deller@gmx.de>
18 lines
340 B
C
18 lines
340 B
C
#ifndef _ASM_PARISC_FTRACE_H
|
|
#define _ASM_PARISC_FTRACE_H
|
|
|
|
#ifndef __ASSEMBLY__
|
|
extern void mcount(void);
|
|
|
|
#define MCOUNT_INSN_SIZE 4
|
|
|
|
extern unsigned long sys_call_table[];
|
|
|
|
extern unsigned long return_address(unsigned int);
|
|
|
|
#define ftrace_return_address(n) return_address(n)
|
|
|
|
#endif /* __ASSEMBLY__ */
|
|
|
|
#endif /* _ASM_PARISC_FTRACE_H */
|