User: Password:
Subscribe / Log in / New account

Uprobes: not quite there yet

Uprobes: not quite there yet

Posted Feb 17, 2010 19:14 UTC (Wed) by oak (guest, #2786)
In reply to: Uprobes: not quite there yet by bronson
Parent article: Uprobes: not quite there yet

Even the SSOL approach one needs to "emulate" / "fix" those of the
instructions which use relative addressing, see Roland's old mail on the

And the instructions are of course architecture specific.

The good thing is that if one puts breakpoints just on function entry &
exit points, those usually use fairly small set of instructions. See e.g.
this user-space function tracing utility that uses SSOL with breakpoints:

If breakpoints can be put anywhere, it's more of an issue. Good question
is how to test that emulation of all the required instructions for SSOL
works fine...

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds