Looking over LTT instrumentation

Frank Ch. Eigler fche@redhat.com
Wed Mar 2 20:36:00 GMT 2005


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



More information about the Systemtap mailing list