Mike Mason <mmlnx@us.ibm.com> writes:
[...] Is there any way around this problem short of writing a return
probe for each function?
Not at present. However, one could overload the probe optional flag
probe foo.bar("*") ? { $zoo }
to skip probes where complications such as a bad $zoo cause a probe
to be deemed erroneous. Nonexistent functions are handled like that;
perhaps nonexistent variables could be too.
Is there any way to treat a variable as conditional? That would be
a useful feature, especially for wildcarded return probes.
Not at present. One might imagine a "$?variable" syntax for optional
values. (This would be an independent facility from the optional
probe widgetry above.)
- FChE