Messages in this thread |  | | | Date | Fri, 19 Jun 2009 04:14:18 +0200 | | From | Frederic Weisbecker <> | | Subject | Re: [PATCH 5/7] add syscall tracepoints |
| |
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@redhat.com> > > --- > 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 >
|  |