conditional probe semantics

Frank Ch. Eigler fche@redhat.com
Sat Jun 14 04:34:00 GMT 2008


Hi -

On Fri, Jun 13, 2008 at 05:58:10PM -0700, Dave Nomura wrote:
> probe process(...).....  if (condition) { ... }
>    and
> probe process(...).... { if (condition) { ... } }

The former is considered a necessary but perhaps not sufficient
condition for the probe to potentially fire.  

It hints that "condition" will typically be false, so that actually
removing the underlying e.g.  kprobe should be considered by the
runtime.  Once the condition returns to true, the e.g. kprobe should
be reinserted as soon as possible, though some events may be missed in
the interim.

The above is in any case how it will probably work.  Right now, they
are functionally equivalent, except that the necessary semantic
restrictions of the condition expression are already enforced.

- FChE



More information about the Systemtap mailing list