Re: [PATCH] x86: entry_64 - introduce FTRACE_ frame macro v2

From: Ingo Molnar
Date: Tue Dec 16 2008 - 16:58:19 EST



* Cyrill Gorcunov <gorcunov@xxxxxxxxx> wrote:

> Impact: clean up
>
> Itroduce FTRACE_SAVE/RESTORE_FRAME which allow us to
> save a number of lines on source level.
>
> Also fix a comment in ftrace.h.
> ---
>
> Didn't add Steve's Ack since it's a new version
>
> arch/x86/include/asm/ftrace.h | 29 ++++++++++++++++++++-
> arch/x86/kernel/entry_64.S | 57 +++++-------------------------------------
> 2 files changed, 35 insertions(+), 51 deletions(-)

applied to tip/tracing/ftrace, thanks Cyrill!

i renamed it from FTRACE_* to MCOUNT_* - since that's where these frame
details come from - these are stubs around GCC generated mcount calls.

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/