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>
Showing
- arch/arm/Kconfig 1 addition, 0 deletionsarch/arm/Kconfig
- arch/arm/include/asm/syscall.h 4 additions, 0 deletionsarch/arm/include/asm/syscall.h
- arch/arm/include/asm/thread_info.h 3 additions, 1 deletionarch/arm/include/asm/thread_info.h
- arch/arm/include/asm/unistd.h 8 additions, 0 deletionsarch/arm/include/asm/unistd.h
- arch/arm/kernel/entry-common.S 9 additions, 0 deletionsarch/arm/kernel/entry-common.S
- arch/arm/kernel/ptrace.c 9 additions, 2 deletionsarch/arm/kernel/ptrace.c
Loading
Please register or sign in to comment