$foo in probe predicates

Frank Ch. Eigler fche@redhat.com
Wed Jan 7 23:54:00 GMT 2009


Roland McGrath <roland@redhat.com> writes:

> [...]
> AFAICT this makes it impossible to do:
> probe foo.bar = kernel.function("blah") if ($arg == 1) { argstr=... }
> probe foo.baz = kernel.function("blah") if ($arg == 2) { argstr=... }

Note that this syntax is for conditional probes (ones that arm and
disarm on the fly), which are prevented from being conditional on
local context variables that would require them to be armed anyway.

- FChE



More information about the Systemtap mailing list