• Rusty Lynch's avatar
    [PATCH] Return probe redesign: x86_64 specific changes · ba8af12f
    Rusty Lynch authored
    The following patch contains the x86_64 specific changes for the new
    return probe design.  Changes include:
     * Removing the architecture specific functions for querying a return probe
       instance off a stack address
     * Complete rework onf arch_prepare_kretprobe() and trampoline_probe_handler()
     * Removing trampoline_post_handler()
     * Adding arch_init() so that now we handle registering the return probe
       trampoline instead of kernel/kprobes.c doing it
    
    NOTE:
    Note that with this new design, the dependency on calculating a pointer to
    the task off the stack pointer no longer exist (resolving the problem of
    interruption stacks as pointed out in the original feedback to this port.)
    Signed-off-by: default avatarRusty Lynch <rusty.lynch@intel.com>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    ba8af12f
kprobes.c 20.1 KB