tracing/function-return-tracer: call prepare_ftrace_return by registers
authorFrederic Weisbecker <fweisbec@gmail.com>
Wed, 12 Nov 2008 21:49:23 +0000 (22:49 +0100)
committerIngo Molnar <mingo@elte.hu>
Wed, 12 Nov 2008 22:15:43 +0000 (23:15 +0100)
commit1dc1c6adf38bc5799d1594681645ced40ced4b6b
tree5b08e2143631239ef1663bf2e1c1c18bcaabb5f3
parent62d59d17a5f98edb48b171742dfa531488802f07
tracing/function-return-tracer: call prepare_ftrace_return by registers

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>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/entry_32.S
arch/x86/kernel/ftrace.c