From c7824d072b5d912b9de0b19a126dfc7f043b3b59 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Fri, 18 Feb 2011 11:23:36 -0500 Subject: lttng-instrumentation/lttng-instrumentation-sh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit LTTng - instrumentation SH Partial SH64 instrumentation. Changelog: - fix do_fork instrumentation - fix redeclaration of ‘pid’ within process_<32/64>. - sh: spare fixes for LTTng (includes headers, DEFINE_TRACE) Signed-off-by: Mathieu Desnoyers --- arch/sh/kernel/ptrace_64.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/sh/kernel/ptrace_64.c') 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 #include #include +#include #include #include #include @@ -43,6 +44,9 @@ #define CREATE_TRACE_POINTS #include +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) -- cgit v1.2.3