[PATCH - v2] Fix for insn probe: Call arch_has_*_step() prior to calling utrace_control

Maynard Johnson maynardj@us.ibm.com
Wed Apr 1 20:26:00 GMT 2009


The attached patch is version 2 for the problem I reported earlier today.

Frank, is this more what you had in mind?  With this patch, there's no need for the user to look at the system log.  Error messages are sent to stderr:

	ERROR: insn probe init: arch does not support block step mode
	ERROR: probe process("/test").function("doit1@/test.c:22").return registration error (rc -1)

-Maynard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: systap-insn_v2.patch
Type: text/x-patch
Size: 1216 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20090401/a131e06d/attachment.bin>


More information about the Systemtap mailing list