diff options
Diffstat (limited to 'cddl/contrib/dtracetoolkit/Locks/lockbyproc.d')
-rwxr-xr-x | cddl/contrib/dtracetoolkit/Locks/lockbyproc.d | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cddl/contrib/dtracetoolkit/Locks/lockbyproc.d b/cddl/contrib/dtracetoolkit/Locks/lockbyproc.d new file mode 100755 index 000000000000..d7b921913419 --- /dev/null +++ b/cddl/contrib/dtracetoolkit/Locks/lockbyproc.d @@ -0,0 +1,10 @@ +#!/usr/sbin/dtrace -s +/* + * lockbyproc.d - lock time by process name. DTrace OneLiner. + * + * This is a DTrace OneLiner from the DTraceToolkit. + * + * $Id: lockbyproc.d 3 2007-08-01 10:50:08Z brendan $ + */ + +lockstat:::adaptive-block { @time[execname] = sum(arg1); } |