summaryrefslogtreecommitdiff
path: root/System/syscallbysysc.d
diff options
context:
space:
mode:
Diffstat (limited to 'System/syscallbysysc.d')
-rwxr-xr-xSystem/syscallbysysc.d10
1 files changed, 10 insertions, 0 deletions
diff --git a/System/syscallbysysc.d b/System/syscallbysysc.d
new file mode 100755
index 0000000000000..86b8ac3e58a88
--- /dev/null
+++ b/System/syscallbysysc.d
@@ -0,0 +1,10 @@
+#!/usr/sbin/dtrace -s
+/*
+ * syscallbysysc.d - report on syscalls by syscall. DTrace OneLiner.
+ *
+ * This is a DTrace OneLiner from the DTraceToolkit.
+ *
+ * $Id: syscallbysysc.d 3 2007-08-01 10:50:08Z brendan $
+ */
+
+syscall:::entry { @num[probefunc] = count(); }