parisc: Add syscall tracepoint support

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>
This commit is contained in:
Helge Deller
2016-04-13 22:44:54 +02:00
parent f6c658df63
commit fc79168a7c
6 changed files with 28 additions and 1 deletions

View File

@@ -6,6 +6,8 @@ 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)