This is the mail archive of the systemtap@sources.redhat.com mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Oops when unregistering kprobes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]