mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-18 17:02:16 -04:00
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 */
|