• Steven Rostedt's avatar
    powerpc/ppc64: ftrace, handle module trampolines for dyn ftrace · f48cb8b4
    Steven Rostedt authored
    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: default avatarSteven Rostedt <srostedt@redhat.com>
    f48cb8b4
ftrace.h 572 Bytes