This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: static probes
Hi -
jrs wrote:
> [...] Would it be possible for SystemTap to check for the
> availability of a static probe before reverting to kprobing a kernel
> function? [...]
That is, have systemtap substitute a function/statement() probe with a
mark() probe if one happens to be nearby? It may be possible, though
the mapping is not exact. For example, pt_regs* would not be
conveniently available in the latter case, so arbitrary $target
variables could be unavailable.
- FChE