aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/kernel/ptrace_64.c
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-03-09 17:24:48 -0700
committerJohn Rigby <john.rigby@linaro.org>2011-03-09 17:24:48 -0700
commit0ffb81261428df3e9f4d32ed00a6bd385299bfcf (patch)
tree06bbc160842f90e0243e1b29dacd13242564e380 /arch/sh/kernel/ptrace_64.c
parent64b883c9d077d0d0f70685ab67a88dbcd1a72720 (diff)
parent01355eaa8f6aadbf113d9d75c59accc60c274144 (diff)
Merge remote branch 'aviksil-lttng/linaro' into linux-linaro-2.6.38-alt
Diffstat (limited to 'arch/sh/kernel/ptrace_64.c')
-rw-r--r--arch/sh/kernel/ptrace_64.c4
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)