diff options
Diffstat (limited to 'arch/sh/kernel/ptrace_64.c')
-rw-r--r-- | arch/sh/kernel/ptrace_64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/sh/kernel/ptrace_64.c b/arch/sh/kernel/ptrace_64.c index 4436eacddb1..c893d20483b 100644 --- a/arch/sh/kernel/ptrace_64.c +++ b/arch/sh/kernel/ptrace_64.c @@ -31,6 +31,7 @@ #include <linux/tracehook.h> #include <linux/elf.h> #include <linux/regset.h> +#include <trace/syscall.h> #include <asm/io.h> #include <asm/uaccess.h> #include <asm/pgtable.h> @@ -43,6 +44,9 @@ #define CREATE_TRACE_POINTS #include <trace/events/syscalls.h> +DEFINE_TRACE(syscall_entry); +DEFINE_TRACE(syscall_exit); + /* This mask defines the bits of the SR which the user is not allowed to change, which are everything except S, Q, M, PR, SZ, FR. */ #define SR_MASK (0xffff8cfd) |