This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Maynard Johnson wrote:
> 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

I committed both this and your testcase.

Josh


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]