[V2 3/3] ARM: support syscall tracing

Will Deacon will.deacon at arm.com
Thu Dec 1 09:10:07 EST 2011


Hi Steven,

Just a minor comment:

On Wed, Nov 30, 2011 at 02:46:22PM +0000, Steven Walter wrote:
> diff --git a/arch/arm/kernel/entry-common.S b/arch/arm/kernel/entry-common.S
> index b2a27b6..439f274 100644
> --- a/arch/arm/kernel/entry-common.S
> +++ b/arch/arm/kernel/entry-common.S
> @@ -79,6 +79,11 @@ no_work_pending:
>  ENDPROC(ret_to_user_from_irq)
>  ENDPROC(ret_to_user)
>  
> +.macro test_syscall_tracing reg
> +	tst	\reg, #_TIF_SYSCALL_TRACE
> +	tsteq	\reg, #_TIF_SYSCALL_TRACEPOINT
> +.endm
> +

You could put this macro in entry-header.S instead.

Will



More information about the linux-arm-kernel mailing list