Skip to content
  • Steven Rostedt's avatar
    ftrace: disable dynamic ftrace for all archs that use daemon · 07c4cc1c
    Steven Rostedt authored
    
    
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    07c4cc1c