Re: [PATCH 2/2] tracing/function-return-tracer: Callprepare_ftrace_return by registers

From: Ingo Molnar
Date: Wed Nov 12 2008 - 17:16:47 EST



* Frederic Weisbecker <fweisbec@xxxxxxxxx> 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@xxxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>
> ---
> 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
--
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/