This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: Oops when unregistering kprobes
- From: Ananth N Mavinakayanahalli <ananth at in dot ibm dot com>
- To: William Cohen <wcohen at redhat dot com>
- Cc: Ananth Narayan <ananth dot gururaja at gmail dot com>, SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 15 Apr 2005 18:42:44 -0400
- Subject: Re: Oops when unregistering kprobes
- References: <426036C7.8020201@redhat.com>
- Reply-to: ananth at in dot ibm dot com
On Fri, Apr 15, 2005 at 05:48:55PM -0400, William Cohen wrote:
> I noticed when attempting to run my multiprobe test (kprobe-multi.ko) on
> the stock 2.6.12-rc1-mm2 kernel that only allows a single probe at an
> address. I know that is is going to fail. However, I got an oops from
> attempting to remove a non existant probe. Only one of the two probes
> were inserted, but the code tried to remove both, resulting in the oops
> for the second kprobe removal. Could we make this more robust so
> kprobe_unregister can't oops on a bogus kprobe removal?
>
Will,
Prasanna posted a patch a few days back to fix this issue. Please refer
http://sourceware.org/ml/systemtap/2005-q2/msg00084.html
for the patch.
Thanks,
Ananth