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

From: Frédéric Weisbecker
Date: Wed Nov 12 2008 - 17:22:49 EST


2008/11/12 Ingo Molnar <mingo@xxxxxxx>:
>
> * 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
>


Yes. I'm preparing a patch to do these renames....
--
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/