lkml.org 
[lkml]   [2009]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [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
    >



    \
     
     \ /
      Last update: 2009-06-19 04:17    [W:0.021 / U:120.952 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site