Re: [tip: x86/asm] x86/asm/ftrace: Mark function_hook as function
From: Steven Rostedt
Date: Fri Oct 18 2019 - 16:31:30 EST
On Fri, 18 Oct 2019 21:48:56 +0200
Borislav Petkov <bp@xxxxxxx> wrote:
> > The #define was because we use to support mcount or __fentry__, now we
> > just support __fentry__, and function_hook describes it better ;-)
>
> Well sorry but gcc documentation talks about __fentry__. I'd keep the
> same name to avoid confusion and explain above it what it is. Much
> better.
Still looks ugly ;-)
>
> > Heh, I guess we could, which would probably be quite a long comment as
> > it's the key behind ftrace itself.
>
> Well, you can explain with a couple of sentences what it is and
> then point at the bigger document explaining ftrace. Provided, Mr.
> Rostedt, you'll stop doing talks and finally sit down and write that
> documentation!
I do the talks hoping someone else will finally sit down and write the
documentation!
-- Steve