This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: $foo in probe predicates
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Roland McGrath <roland at redhat dot com>
- Cc: systemtap at sources dot redhat dot com
- Date: Wed, 07 Jan 2009 18:54:18 -0500
- Subject: Re: $foo in probe predicates
- References: <20090107220903.9BB49FC305@magilla.sf.frob.com>
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