Re: objtool warnings for kernel/trace/trace_selftest_dynamic.o

From: Steven Rostedt
Date: Tue Dec 18 2018 - 17:16:26 EST


On Tue, 18 Dec 2018 14:13:38 -0800
Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:

> > Again, that's not the ftrace case. It doesn't care about more than one
> > out of line instance. Thus, for this particular use, "used" should be
> > good enough.
>
> You mean noinline used?

I thought that someone said that "used" would also prevent inlining.
But regardless, whatever it takes to not let the functions be inlined
is indeed good enough.

-- Steve

>
> Inlining would certainly break the test.