summaryrefslogtreecommitdiff
path: root/arch/parisc/include/asm/ftrace.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2016-04-13 23:44:54 +0300
committerHelge Deller <deller@gmx.de>2016-05-22 22:38:47 +0300
commitfc79168a7c75423047d60a033dc4844955ccae0b (patch)
tree2a2cc2008024f4025965abd54799004176c3dc58 /arch/parisc/include/asm/ftrace.h
parentf6c658df63856db3bf8f467024b1dbee37b5399c (diff)
downloadlinux-fc79168a7c75423047d60a033dc4844955ccae0b.tar.xz
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>
Diffstat (limited to 'arch/parisc/include/asm/ftrace.h')
-rw-r--r--arch/parisc/include/asm/ftrace.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/parisc/include/asm/ftrace.h b/arch/parisc/include/asm/ftrace.h
index 24cd81d58d70..d635c6b0269d 100644
--- a/arch/parisc/include/asm/ftrace.h
+++ b/arch/parisc/include/asm/ftrace.h
@@ -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)