[RFC] Design + prototype: Multiple handler sets per probe address
Hien Nguyen
hien@us.ibm.com
Sat Apr 2 00:53:00 GMT 2005
I did some test on the the multi handlers patch. It seems working as
described. I created a function-return probes patch agaisnt Ananth's
multi-handlers patch. Apply Ananth's patch first then this patch.
I used the sys_retprobe.ko and sys_retprobe2.ko modules for some quick
tests, they are basically idential with different name (so I can load
both of them). You could untar the tarballs and build the modules with
the incluced mksys_kretprobe script.
Please let me know if there is any problem.
Thanks, Hien.
Ananth N Mavinakayanahalli wrote:
> Hi,
>
> Here is a design to support "Mulitple handler sets per address". I
> have also put in the i386 implementation based on this design.
>
> Some notes:
>
> - The interfaces to register, unregister, define handlers all remain
> the same.
> - A kprobe and jprobe cannot co-exist at the same location. (Ideas are
> welcome on how to support this).
>
> I have minimally tested the patch and it works(tm).
>
> Please let me know your thoughts on the design. I'd also appreciate if
> you could test the patch (diffed against 2.6.12-rc1-mm3) and provide
> feedback.
>
>
> Thanks,
> Ananth
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: multi-handlers-base-x86-working_retprobe.patch
Type: text/x-patch
Size: 14917 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050402/51a11c36/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys_kretprobe.tar.gz
Type: application/x-gzip
Size: 2795 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050402/51a11c36/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sys_kretprobe2.tar.gz
Type: application/x-gzip
Size: 2804 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050402/51a11c36/attachment-0002.bin>
More information about the Systemtap
mailing list