From mboxrd@z Thu Jan 1 00:00:00 1970 From: Du Changbin Subject: Re: [PATCH 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations Date: Thu, 18 Oct 2018 17:03:33 +0000 Message-ID: <20181018170333.ctwhuyecd5m6wxoh@mail.google.com> References: <20181018162548.6399-1-changbin.du@gmail.com> <20181018162548.6399-3-changbin.du@gmail.com> <20181018125948.789c72de@gandalf.local.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20181018125948.789c72de@gandalf.local.home> Sender: linux-kernel-owner@vger.kernel.org To: Steven Rostedt Cc: Du Changbin , yamada.masahiro@socionext.com, michal.lkml@markovi.net, tglx@linutronix.de, mingo@redhat.com, linux@armlinux.org.uk, akpm@linux-foundation.org, x86@kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sparse@vger.kernel.org, Changbin Du List-Id: linux-sparse@vger.kernel.org On Thu, Oct 18, 2018 at 12:59:48PM -0400, Steven Rostedt wrote: > On Thu, 18 Oct 2018 16:25:46 +0000 > Du Changbin wrote: > > > From: Changbin Du > > > > 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 > > Acked-by: Steven Rostedt (VMware) > > I have acked patch this before, but this particular patch has extra > changes that I have not acked. > Steven, no extra changes made. I just wronly rebased it on top of mainline. :) > > > > +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 -- Thanks, Du Changbin