Re: [PATCH] x86/ftrace: Get rid of function_hook

From: Borislav Petkov
Date: Tue Oct 22 2019 - 08:56:24 EST


On Tue, Oct 22, 2019 at 01:38:42PM +0200, Jiri Slaby wrote:
> On the top of Steven's comment:
> Acked-by: Jiri Slaby <jslaby@xxxxxxx>
>
> Thanks for taking care of this while my tooth was causing me pain.

Sure, np. Toothache is yuck.

Ok, so after some back'n'forth yesterday on IRC, I think we agree on
only renaming function_hook but keeping its SYM_FUNC* annotation so
that ORC can unwind into it because we're fancy and we do all kinds of
unwinding from interrupts in ftrace handlers and all that other fun. So
it needs to know that that thing is a function.

So here it is as a proper patch as a reply to this message.

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette