Re: [RFC] x86: entry_64 - introduce FTRACE_ frame macro

From: Steven Rostedt
Date: Fri Dec 12 2008 - 15:53:16 EST



On Fri, 12 Dec 2008, Cyrill Gorcunov wrote:

> [Steven Rostedt - Fri, Dec 12, 2008 at 03:19:27PM -0500]
> |
> ...
> | >
> | > Ah, the patch is on top of -tip e3bdf48
> |
> | If you have tested this with and without dynamic ftrace, for both the
> | function tracer and the function graph tracer, then you have my...
> |
> | Acked-by: Steven Rostedt <srostedt@xxxxxxxxxx>
> |
> | -- Steve
> ...
>
> Thanks Steven! Actually just catched a bug :) I placed
> these macros under CONFIG_DYNAMIC_FTRACE but have them
> used even if it was undefined -- will fix shortly.
>
> Well... I think the macros should be placed in differen
> location (maybe in header) to not overload the source.

You can put them in arch/x86/include/asm/ftrace.h That's assembly safe.

-- Steve

--
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/