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