updated uprobes patches

Jim Keniston jkenisto@us.ibm.com
Thu May 17 00:48:00 GMT 2007


Here are updated uprobes patches to replace those I posted April
20 and April 23:
- 1-uprobes-base.patch
- 2-uprobes-ssol.patch
- 3-uretprobes.patch

Utrace is not currently in the -mm kernel, so these patches are
against the most recent utrace-enabled -mm kernel, 2.6.21-rc6-mm1.
If you want to use a more recent kernel, you'll need to patch in
linux-2.6-utrace.patch from
http://people.redhat.com/roland/utrace/2.6-current/ first.

These uprobes patches reflect review comments and miscellaneous cleanup
over the past few weeks.  Locking is much simplified.*  Robustness
is improved.  The API is the same: [un]register_u[ret]probe().

Still to do: Reorg of structs uprobe + uprobe_kimg into structs
uprobe + uprobe_kimg + uprobe_probept, to address kernel ABI
backward-compatibility.  This will be a largely cosmetic change,
but it affects a lot of code, so I wanted to keep that change separate.

Comments welcome, as always.

Jim Keniston

*uproc->mutex becomes uproc->rwsem.  uproc->table_rwsem, utask->mutex,
and uk->rwsem go away.
-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1-uprobes-base.patch
Type: text/x-patch
Size: 67317 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070517/414c51ea/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2-uprobes-ssol.patch
Type: text/x-patch
Size: 25164 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070517/414c51ea/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3-uretprobes.patch
Type: text/x-patch
Size: 32387 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20070517/414c51ea/attachment-0002.bin>


More information about the Systemtap mailing list