architecture paper draft
Stephen C. Tweedie
sct@redhat.com
Fri Feb 11 11:48:00 GMT 2005
Hi,
On Fri, 2005-02-11 at 16:28, Sridharan, K wrote:
> There are technologies available that figure out lengths of the X86
> instructions very well and many of these are part of commercial products
> available in the market. If that is the only stumbling block to avoid
> excessive overhead, then we can see how to provide that technology.
How will that deal with new instructions? We'd have to deal with cases
where new toolchains are inserting enhanced but kernel-compatible
instructions into applications, and the kprobes aren't aware of them.
The technique of simply single-stepping over the replaced instruction
neatly avoids that problem.
If the use of branches is restricted to kernel probes, then that issue
is much less important, as we have control over the toolchain in that
case.
--Stephen
More information about the Systemtap
mailing list