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: [RFC] [PATCH 2.6.37-rc5-tip 13/20] 13: x86: x86 specific probe handling


> Uprobes doesn't request/handle block-step for now. So can we postpone
> your suggested changes till uprobes needs to handle block-step?

That's not the issue.  The way the hardware works is that if the bit is set
in the MSR, then the TF eflags bit means block-step instead of single-step.
So if PTRACE_SINGLEBLOCK has been used (i.e. user_enable_block_step), then
this can interfere with your use of single-step.  You need to do the work
in the else branch of step.c:enable_step to ensure that the hardware is not
left in the state where it will do block-step instead of single-step when
uprobes wants a single-step done.


Thanks,
Roland


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