kprobes problem

Prasanna S Panchamukhi prasanna@in.ibm.com
Mon Mar 14 21:58:00 GMT 2005


Hi Will,

> >I was certainly intended to. As I mentioned before there is specific code
> >to deal with call, jmp etc. Probing INT should be OK, though I don't think
> >a probe on INT3 works. Need to check.
> 
> I figured that INT3 wouldn't be probed. However, there are certainly 
> some other INT instructions in the code. I saw them (and the IRET) in 
> the disassembled code. I was just figuring if we are fixing up the RET 
> that we take a moment and make sure there are no other omissions.
> 

IRET/ IRETD instructions are taken care. Probing INT n should be ok, but probe on 
int3 instruction is not handled properly. kprobe_handler() should return appropriate 
value based on the current kprobes status. I will send out a patch soon. Also there is
 one bug reported by Stas on LKML about int 3(int n type) instruction. Patch can be 
found at the URL.

	http://lkml.org/lkml/2004/12/9/43

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