On Tue, Oct 31, 2006 at 05:13:19PM +0800, Gui,Jian wrote:
Probing on emulate_step function will crash 2.6.18.1 when it is
triggered. This problem is powerpc dependent.
When kprobe is triggered, emulate_step is on its kernel path and
will cause recursive kprobe fault. This patch can disallow
kprobes on emulate_step function.
Looks good, but not complete :-) Even branch_taken() needs to be
__kprobes as emulate_step() calls it.
Please add that and feel free to post the patch to linuxppc-dev
for upstream inclusion.
Ananth