[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181018125948.789c72de@gandalf.local.home>
Date: Thu, 18 Oct 2018 12:59:48 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Du Changbin <changbin.du@...il.com>
Cc: yamada.masahiro@...ionext.com, michal.lkml@...kovi.net,
tglx@...utronix.de, mingo@...hat.com, linux@...linux.org.uk,
akpm@...ux-foundation.org, x86@...nel.org,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-sparse@...r.kernel.org,
Changbin Du <changbin.du@...el.com>
Subject: Re: [PATCH 2/4] kernel hacking: new config NO_AUTO_INLINE to
disable compiler auto-inline optimizations
On Thu, 18 Oct 2018 16:25:46 +0000
Du Changbin <changbin.du@...il.com> wrote:
> From: Changbin Du <changbin.du@...el.com>
>
> This patch add a new kernel hacking option NO_AUTO_INLINE. Selecting
> this option will prevent the compiler from optimizing the kernel by
> auto-inlining functions not marked with the inline keyword.
>
> With this option, only functions explicitly marked with "inline" will
> be inlined. This will allow the function tracer to trace more functions
> because it only traces functions that the compiler has not inlined.
>
> Signed-off-by: Changbin Du <changbin.du@...el.com>
> Acked-by: Steven Rostedt (VMware) <rostedt@...dmis.org>
I have acked patch this before, but this particular patch has extra
changes that I have not acked.
> +config ENABLE_WARN_DEPRECATED
> + bool "Enable __deprecated logic"
> + default y
> + help
> + Enable the __deprecated logic in the kernel build.
> + Disable this to suppress the "warning: 'foo' is deprecated
> + (declared at kernel/power/somefile.c:1234)" messages.
> +
What is that?
-- Steve
Powered by blists - more mailing lists