]> err.no Git - linux-2.6/commit
[PATCH] Return probe redesign: x86_64 specific changes
authorRusty Lynch <rusty.lynch@intel.com>
Mon, 27 Jun 2005 22:17:10 +0000 (15:17 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 27 Jun 2005 22:23:53 +0000 (15:23 -0700)
commitba8af12f432c4f00ddb0bc1068b57b20aac93ecf
tree98e51269052fb24e232d67fa2c55d6cec803c787
parent4bdbd37f6d01abc4c002bb8de90ea2c3bc7abe7e
[PATCH] Return probe redesign: x86_64 specific changes

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: Rusty Lynch <rusty.lynch@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/kprobes.c