This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: uprobes and empty functions
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Josh Stone <jistone at redhat dot com>
- Cc: David Smith <dsmith at redhat dot com>, Srikar Dronamraju <srikar at linux dot vnet dot ibm dot com>, Systemtap List <systemtap at sources dot redhat dot com>
- Date: Sat, 30 Oct 2010 11:04:15 -0400
- Subject: Re: uprobes and empty functions
- References: <4CC9F377.7050606@redhat.com> <4CCB326E.40803@redhat.com>
Josh Stone <jistone@redhat.com> writes:
> [...]
> I wrote a uprobes patch, attached, which deals with "rep ret" by
> treating it exactly like ret in the x86 uprobe_post_ssout (defined in
> four places, sheesh...)
Great!
> I only matched "f3 c3", but I'm not sure if we need bother with other
> rep/ret variants for this special case. [...]
I'm more worried that we're finding cases where uprobes is willing to
place a breakpoint, but is not fully up to the job of executing the
breakpointed instruction. To what extent could we flip over the tests
from "known not to work" to "not known to work" in rejecting
instructions?
- FChE