]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ftrace: disable dynamic ftrace for all archs that use daemon
authorSteven Rostedt <rostedt@goodmis.org>
Thu, 23 Oct 2008 13:33:04 +0000 (09:33 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 23 Oct 2008 14:00:21 +0000 (16:00 +0200)
commit07c4cc1cdaa08fcb6c0275dd7be49eae37260169
treeaf29e7d9cfed3ea0b7d31c17ae5cde498ebdbf10
parent6912896e994ddaf06cc0f6d3f2098bc4b59bdd84
ftrace: disable dynamic ftrace for all archs that use daemon

The ftrace daemon is complex and can cause nasty races if something goes
wrong. Since it affects all of the kernel, this patch disables dynamic
ftrace from any arch that depends on the daemon. Until the archs are
ported over to the new MCOUNT_RECORD method, I am disabling dynamic
ftrace from them.

Note: I am leaving in the arch/<arch>/kernel/ftrace.c code alone since
that can be used when the arch is ported to MCOUNT_RECORD. To port
the arch to MCOUNT_RECORD, the scripts/recordmcount.pl needs to be
updated. I will make that easier to do for 2.6.29. For 28, we will keep
the archs disabled.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/arm/Kconfig
arch/powerpc/Kconfig
arch/sparc64/Kconfig