[RFC][PATCH 1/2] uprobes: utrace-based user-space probes
Jim Keniston
jkenisto@us.ibm.com
Fri Apr 20 23:08:00 GMT 2007
Here's the latest rev of our i386 implementation of user-space
probes (uprobes), based on Roland's utrace infrastructure. Uprobes
supplements utrace and kprobes, enabling a kernel module to probe
user-space applications in much the same way that a kprobes-based
module probes the kernel. See Documentation/uprobes.txt in the patch
for details.
This patch should apply to any recent -mm kernel (i.e., any kernel
that includes utrace). Comments welcome.
The single-stepping-out-of-line implementation has gotten pretty
big, and there are several alternatives to the way we implemented
it (the vma is fixed at 1 page and allocated only for processes
actually probed), so I've split that off as a separate patch.
(Watch this space.)
I'm reimplementing uretprobes to use a slot in the vma
for its trampoline. I hope to post updated uretprobes and
deferred-registration patches in a few days.
Jim Keniston
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-uprobes-base.patch
Type: text/x-patch
Size: 67848 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070420/f519c921/attachment.bin>
More information about the Systemtap
mailing list