[PATCH] Kprobes: Incorrect handling of probes on ret/lret instruction

2005-04-01 Thread Prasanna S Panchamukhi
Hi, Kprobes could not handle the insertion of a probe on the ret/lret instruction and used to oops after single stepping since kprobes was modifying eip/rip incorrectly. Adjustment of eip/rip is not required after single stepping in case of ret/lret instruction, because eip/rip points to the

[PATCH] Kprobes: Incorrect handling of probes on ret/lret instruction

2005-04-01 Thread Prasanna S Panchamukhi
Hi, Kprobes could not handle the insertion of a probe on the ret/lret instruction and used to oops after single stepping since kprobes was modifying eip/rip incorrectly. Adjustment of eip/rip is not required after single stepping in case of ret/lret instruction, because eip/rip points to the