Testing insn.block probe point uncovers possible utrace bug

2009-03-31 Thread Maynard Johnson
Hi, In regards to the instruction tracing probe points that were added to SystemTap last year, Frank had asked whether the block-trace functionality (.insn.block) is working. I tested this on x86_64/Fedora 10 and, indeed, it does work. However, when testing on a ppc64 system, it failed

Re: Testing insn.block probe point uncovers possible utrace bug

2009-03-31 Thread Roland McGrath
The bug is in your module's unconditional use of UTRACE_*STEP. It's documented that it's invalid to use them unless arch_has_*_step() has returned true. (The utrace_resume_action description refers you to utrace_control(), where this is documented.) It's a bug to use these at all when the