lkml.org 
[lkml]   [2008]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 2/2] tracing/function-return-tracer: Call prepare_ftrace_return by registers

    * Frederic Weisbecker <fweisbec@gmail.com> wrote:

    > Impact: Optimize a bit the function return tracer
    >
    > This patch changes the calling convention of prepare_ftrace_return
    > to pass its arguments by register. This will optimize it a bit and
    > prepare it to support dynamic tracing.
    >
    > Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
    > Cc: Steven Rostedt <rostedt@goodmis.org>
    > ---
    > arch/x86/kernel/entry_32.S | 5 +----
    > arch/x86/kernel/ftrace.c | 1 -
    > 2 files changed, 1 insertions(+), 5 deletions(-)

    applied to tip/tracing/function-return-tracer, thanks Frederic!

    btw., should we now rename it all to the function-cost tracer?

    Ingo


    \
     
     \ /
      Last update: 2008-11-12 23:19    [W:8.654 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site