This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Simple tests to check all probe aliases
- From: fche at redhat dot com (Frank Ch. Eigler)
- To: Mike Mason <mmlnx at us dot ibm dot com>
- Cc: SystemTAP <systemtap at sources dot redhat dot com>
- Date: Fri, 21 Sep 2007 15:59:54 -0400
- Subject: Re: Simple tests to check all probe aliases
- References: <46F41420.4000707@us.ibm.com>
Mike Mason <mmlnx@us.ibm.com> writes:
> [...]
> probe nfs.*.*, nfs.*.*.* {}
> This simple script exposed 24 unresolvable probe aliases.
Indeed, this is a class of genuine bugs.
> [...] I know there's been disagreement as to the value of using -u,
> that it would report $var problems that we already know about and
> can do little to fix.
Not just that -- a user cannot accidentally refer to $vars like she
can to probes (there is no equivalent of "probe * {}" like "$*"), so
this class is much less interesting.
> I still think too much test data is better than too little. We can
> use the kfail mechnaism if it becomes too annoying.
It will become instantly annoying. If you like, check in two copies
of the tests, once with -u (and you might as well instantly mark it
kfail), and once without (which should pass).
- FChE