Thread (40 messages) 40 messages, 7 authors, 2021-02-24

Re: [PATCH v9 01/16] tracing: move function tracer options to Kconfig (causing parisc build failures)

From: Kees Cook <hidden>
Date: 2021-02-24 22:44:09
Also in: linux-arch, linux-kbuild, linux-pci, lkml

On Wed, Feb 24, 2021 at 02:28:07PM -0800, Guenter Roeck wrote:
On Wed, Feb 24, 2021 at 12:38:54PM -0800, Kees Cook wrote:
quoted
On Wed, Feb 24, 2021 at 12:17:23PM -0800, Guenter Roeck wrote:
quoted
On Fri, Dec 11, 2020 at 10:46:18AM -0800, Sami Tolvanen wrote:
quoted
Move function tracer options to Kconfig to make it easier to add
new methods for generating __mcount_loc, and to make the options
available also when building kernel modules.

Note that FTRACE_MCOUNT_USE_* options are updated on rebuild and
therefore, work even if the .config was generated in a different
environment.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
With this patch in place, parisc:allmodconfig no longer builds.

Error log:
Arch parisc is not supported with CONFIG_FTRACE_MCOUNT_RECORD at scripts/recordmcount.pl line 405.
make[2]: *** [scripts/mod/empty.o] Error 2

Due to this problem, CONFIG_FTRACE_MCOUNT_RECORD can no longer be
enabled in parisc builds. Since that is auto-selected by DYNAMIC_FTRACE,
DYNAMIC_FTRACE can no longer be enabled, and with it everything that
depends on it.
Ew. Any idea why this didn't show up while it was in linux-next?
It did, I just wasn't able to bisect it there.
Ah-ha! Okay, thanks. Sorry it's been broken for so long! I've added
parisc to my local cross builder now.

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help