[PATCH] Kprobes: Oops! in unregister_kprobe()

Prasanna S Panchamukhi prasanna@in.ibm.com
Tue Apr 12 07:05:00 GMT 2005


> > 
> > kernel oops! when unregister_kprobe() is called on a non-registered
> > kprobe. This patch fixes the above problem by checking if the probe exists
> > before unregistering.
> > 
> > Signed-off-by: Prasanna S Panchamukhi <prasanna@in.ibm.com>
> > 
> 
> This bug is a byproduct of the x86_64 wart described in
> http://sourceware.org/ml/systemtap/2005-q2/msg00059.html.
> 

Jim,

The problem addressed by this patch is not specific to x86_64. It occurs
on all architectures.

Thanks
Prasanna
-- 

Prasanna S Panchamukhi
Linux Technology Center
India Software Labs, IBM Bangalore
Ph: 91-80-25044636
<prasanna@in.ibm.com>



More information about the Systemtap mailing list