This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: [RFC][Patch 1/4] kprobe fast unregistration
- From: "Keshavamurthy, Anil S" <anil dot s dot keshavamurthy at intel dot com>
- To: Masami Hiramatsu <masami dot hiramatsu dot pt at hitachi dot com>
- Cc: "Keshavamurthy, Anil S" <anil dot s dot keshavamurthy at intel dot com>, hch at infradead dot org, Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>, Prasanna S Panchamukhi <prasanna at in dot ibm dot com>, linux-kernel <linux-kernel at vger dot kernel dot org>, SystemTAP <systemtap at sources dot redhat dot com>, Satoshi Oshima <soshima at redhat dot com>, Hideo Aoki <haoki at redhat dot com>, Yumiko Sugita <yumiko dot sugita dot yf at hitachi dot com>, "Frank Ch. Eigler" <fche at redhat dot com>
- Date: Mon, 26 Mar 2007 11:15:19 -0700
- Subject: Re: [RFC][Patch 1/4] kprobe fast unregistration
- References: <4603E7A4.50300@hitachi.com> <20070323180527.GA13728@bambi.jf.intel.com> <46073B5D.9090505@hitachi.com>
- Reply-to: "Keshavamurthy, Anil S" <anil dot s dot keshavamurthy at intel dot com>
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