summaryrefslogtreecommitdiffstats
path: root/examples/small_demos/fileopen.stp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/small_demos/fileopen.stp')
-rwxr-xr-x[-rw-r--r--]examples/small_demos/fileopen.stp7
1 files changed, 6 insertions, 1 deletions
diff --git a/examples/small_demos/fileopen.stp b/examples/small_demos/fileopen.stp
index 5d59ee55..c1298f9c 100644..100755
--- a/examples/small_demos/fileopen.stp
+++ b/examples/small_demos/fileopen.stp
@@ -1,9 +1,14 @@
+#! /usr/bin/env stap
+
+#
# fileopen.stp
#
# This is based on dtrace script from
# http://www.gnome.org/~gman/blog/2006/Jan
#
-#stap fileopen.stp -c "zenity --about"
+# stap fileopen.stp -c "zenity --about"
+# or
+# ./fileopen.stp -c "program or script"
global opens