Thread (9 messages) 9 messages, 3 authors, 2018-10-18

[PATCH 2/4] kernel hacking: new config NO_AUTO_INLINE to disable compiler auto-inline optimizations

From: rostedt@goodmis.org (Steven Rostedt)
Date: 2018-10-18 16:59:53
Also in: linux-kbuild, lkml

On Thu, 18 Oct 2018 16:25:46 +0000
Du Changbin [off-list ref] wrote:
From: Changbin Du <redacted>

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 <redacted>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help