This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: uprobes and empty functions
Hi -
On Thu, Nov 04, 2010 at 11:25:08AM -0700, Jim Keniston wrote:
> [...]
> > > Sorry, that's my only idea. It looks interesting, but uprobes and stap
> > > are no longer in my bailiwick.
> >
> > In #11249, you also mention that you have an idea of how to support
> > relative calls and jumps -- care to elaborate? Can we just convert them
> > to absolute? Or if the SSOL area is close enough, could we just give
> > them a new displacement from SSOL to the right target?
>
> I don't actually recall what I had in mind. It was probably, as you
> say, something along the lines of altering the instruction that we
> single-step. [...]
Until someone finds the time to explore those alternatives, can we
teach uprobes to reject probe-insertion on such instructions too?
(It's better to do that now than to suffer SEGV's.)
- FChE