• S
    powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace · f48cb8b4
    Steven Rostedt 提交于
    Impact: Allow 64 bit PowerPC to trace modules with dynamic ftrace
    
    This adds code to handle the PPC64 module trampolines, and allows for
    PPC64 to use dynamic ftrace.
    
    Thanks to Paul Mackerras for these updates:
    
      - fix the mod and rec->arch.mod NULL checks.
      - fix to is_bl_op compare.
    
    Thanks to Milton Miller for:
    
      - finding the nasty race with using two nops, and recommending
        instead that I use a branch 8 forward.
    Signed-off-by: NSteven Rostedt <srostedt@redhat.com>
    f48cb8b4
ftrace.h 572 字节