This is the mail archive of the
systemtap@sources.redhat.com
mailing list for the systemtap project.
Re: Looking over LTT instrumentation
Hi -
zanussi wrote:
> [...] For instance, if you hooked into the LTT event filtering
> callback, you could use that to 'dispatch' events to individual
> handlers for each event, which would of course be implemented as
> systemtap script handlers, but without being tied to an actual
> probe. Same result, different mechanism. [...]
This is a very important observation. There is no requirement that
every systemtap probe point correspond to a particular PC address and
that each probe be triggered by kprobes. Probes might be triggered by
timers, performance counters, or other callback-capable hooks. The
probe scripts should be agnostic amongst all these trigger mechanisms,
though of course they would vary in terms of what local context is
exposed.
- FChE