freebsd-skq/cddl/usr.sbin
Devin Teske e08e9e9990 dwatch(1): Guard against error when given -t "*..."
dwatch allows you to customnize the predicate (condition) for when
information is displayed. The DTrace syntax for this is:

	probe[, ...] /predicate/ { [actions] }

But if predicate is something like "*args[1]!=NULL" to test that
the first pointer in an array is non-NULL, the syntax produced is:

	probe[, ...] /*arg1!=NULL/ { [actions] }

The issue being that "/*" is the beginning of a comment and thus
the following error is emitted:

	dtrace: failed to compile script /dev/stdin:
		line 535: /* encountered inside a comment

This patch adds whitespace around the argument given to -t,
producing:

	probe[, ...] / *arg1!=NULL / { [actions] }

Sponsored by:	Smule, Inc.
2018-05-27 22:27:47 +00:00
..
dtrace Remove tst.zonename.d from the list of expected failures. 2018-01-14 17:56:19 +00:00
dwatch dwatch(1): Guard against error when given -t "*..." 2018-05-27 22:27:47 +00:00
lockstat DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
plockstat DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
zdb zdb: raise WARNS from 0 to 2 2018-02-21 15:51:48 +00:00
zfsd MFV r318941: 7446 zpool create should support efi system partition 2018-02-21 00:18:57 +00:00
zhack DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
Makefile Introduce dwatch(1) as a tool for making DTrace more useful 2018-03-06 23:44:19 +00:00
Makefile.inc