summaryrefslogtreecommitdiffstats
path: root/examples/small_demos/sys.stp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/small_demos/sys.stp')
-rwxr-xr-xexamples/small_demos/sys.stp17
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/small_demos/sys.stp b/examples/small_demos/sys.stp
deleted file mode 100755
index 2df20bc3..00000000
--- a/examples/small_demos/sys.stp
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env stap
-
-# print all system calls on the system
-
-probe syscall.* {
- if (execname() != "staprun")
- printf("%s: %s (%s) = ", execname(), name, argstr)
-}
-
-probe syscall.*.return {
- if (execname() != "staprun")
- printf("%s\n", retstr)
-}
-
-probe end {
- printf("\n")
-}