Exit probe
Hien Nguyen
hien@us.ibm.com
Thu Mar 3 18:34:00 GMT 2005
Hi,
Here's the prototype for the exit probe. It did not address the two
issues that Will raised in the meeting yesterday (locking, and multiple
probe for the same entry).
The attached files are
1. kernel-2.6.10-rprobe.patch - The exit probe patch.
2. testrprobe.c - This is the test module, when load it will insert a
rprobe for any function entry address given by the entryaddr parameter
when loading (ie "insmod testrprobe.ko entryaddr=0xc0abd3456).
3. loadtestrprobe.sh - use this script to load testrprobe module above,
it will grep out the entry address for the test_erprobe2 function and
use it as entryaddr parameter.
4. calltest2.c - This module symply invoke test_erprobe2 function when
it is removed.
Thanks, Hien.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: kernel-2.6.10-rprobe.patch
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050303/5ef64783/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: testrprobe.c
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050303/5ef64783/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: loadtestrprobe.sh
Type: application/x-sh
Size: 119 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050303/5ef64783/attachment.sh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: calltest2.c
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050303/5ef64783/attachment-0001.c>
More information about the Systemtap
mailing list