[RFC][Patch 1/4] kprobe fast unregistration

Keshavamurthy, Anil S anil.s.keshavamurthy@intel.com
Mon Mar 26 17:58:00 GMT 2007


On Mon, Mar 26, 2007 at 12:17:49PM +0900, Masami Hiramatsu wrote:
> Hi Christoph and Anil,
> 
> Thank you for your comments.
> 
> Christoph Hellwig wrote:
> > Speeding up the unregistration is a very good idea, but this interface
> > is rather horrible.  It's almost a receipe for users to get it wrong.
> Keshavamurthy, Anil S wrote:
> > I agree with Christop that the interface is horrible and error prone.
> 
> OK, I agree. I had chosen a confusable name.
Keep in mind that the the sequence of unregistering a 
probe should be same irrespecitve of whether user wants 
to unregister a single probe or user want to 
unregister more that one probe, i.e. you can not say 
use this call (unregister_kprobe() ) for unregistering 
a probe which is b.t.w slow and use this set of calls if you 
have more than one kprobes to unregister for faster unregistration.

thanks,
Anil Keshavamurthy



More information about the Systemtap mailing list