Re: [PATCH 5/7] add syscall tracepoints

From: Frederic Weisbecker
Date: Thu Jun 18 2009 - 22:14:31 EST


On Fri, Jun 12, 2009 at 05:24:59PM -0400, Jason Baron wrote:
> update FTRACE_SYSCALL_MAX to the current number of syscalls
>
>
> Signed-off-by: Jason Baron <jbaron@xxxxxxxxxx>
>
> ---
> arch/x86/include/asm/ftrace.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/x86/include/asm/ftrace.h b/arch/x86/include/asm/ftrace.h
> index bd2c651..d16d195 100644
> --- a/arch/x86/include/asm/ftrace.h
> +++ b/arch/x86/include/asm/ftrace.h
> @@ -30,9 +30,9 @@
>
> /* FIXME: I don't want to stay hardcoded */


BTW, is there a way to know this size dynamically?
Or is there already a hardcoded number of syscalls somewhere
in x86?

Frederic.


> #ifdef CONFIG_X86_64
> -# define FTRACE_SYSCALL_MAX 296
> +# define FTRACE_SYSCALL_MAX 298
> #else
> -# define FTRACE_SYSCALL_MAX 333
> +# define FTRACE_SYSCALL_MAX 336
> #endif
>
> #ifdef CONFIG_FUNCTION_TRACER
> --
> 1.6.0.6
>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/