ARM: 7524/1: support syscall tracing
authorWade Farnsworth <wade_farnsworth@mentor.com>
Fri, 7 Sep 2012 17:18:25 +0000 (18:18 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 19 Sep 2012 20:50:48 +0000 (21:50 +0100)
commit1f66e06fb6414732bef7bf4a071ef76a837badec
tree329bd62fd3ce0c1f55242549f8486f5b168f4bce
parent5698bd757d55b1bb87edd1a9744ab09c142abfc2
ARM: 7524/1: support syscall tracing

As specified by ftrace-design.txt, TIF_SYSCALL_TRACEPOINT was
added, as well as NR_syscalls in asm/unistd.h.  Additionally,
__sys_trace was modified to call trace_sys_enter and
trace_sys_exit when appropriate.

Tests #2 - #4 of "perf test" now complete successfully.

Signed-off-by: Steven Walter <stevenrwalter@gmail.com>
Signed-off-by: Wade Farnsworth <wade_farnsworth@mentor.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/Kconfig
arch/arm/include/asm/syscall.h
arch/arm/include/asm/thread_info.h
arch/arm/include/asm/unistd.h
arch/arm/kernel/entry-common.S
arch/arm/kernel/ptrace.c