[RFC] Design + prototype: Multiple kprobes at an address - take 2
Ananth N Mavinakayanahalli
amavin@redhat.com
Wed Apr 6 14:45:00 GMT 2005
Hi,
Based on Suparna's and Prasanna's comments on the earlier design, here
goes the new design and prototype for handling multiple kprobes at an
address. This design has the advantage that it is completely
architecture agnostic and imposes (almost) no penalty on the most common
usage - one kprobe per address. And as you can see, the patch is also
considerably smaller :-)
NOTE:
1. I haven't yet added Frank's suggested enabled/disabled flag in
struct kprobe. With the new design, this needs some thought.
2. It is not possible to return a value from unregister_kprobe() since
list_del() returns void.
Patch is against 2.6.11-rc1-mm4, but also applies against 2.6.12-rc2-mm1
Thanks,
Ananth
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: multi-kprobes-per-addr-take2
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050406/9d2636b7/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: multi-kprobes-per-addr-take2.patch
URL: <http://sourceware.org/pipermail/systemtap/attachments/20050406/9d2636b7/attachment-0001.ksh>
More information about the Systemtap
mailing list