architecture paper draft

Stephen C. Tweedie sct@redhat.com
Fri Feb 11 16:28:00 GMT 2005


Hi,

On Fri, 2005-02-11 at 19:20, Chen, Brad wrote:
> New instructions: hopefully these won't happen very often. 
> When they do, they would only be a problem for systemtap if 
> they were in procedure prologues or epilogues, right? If we
> did hit a new instruction at a probe point, we could just 
> refuse to instrument them until the tools catch up. These 
> probes would become unavailable; perhaps the script would
> refuse to run.

That would be an option, yes.  But from a vendor perspective we
shouldn't be hitting new instructions in the kernel (where the build
environment is more controlled), only from user space.  And in user
space, kprobes already need to trap into kernel space, so perhaps the
int3 mechanism is OK for that side of things.

--Stephen



More information about the Systemtap mailing list