summaryrefslogtreecommitdiffstats
path: root/examples/small_demos/fileopen.stp
diff options
context:
space:
mode:
authorhunt <hunt>2007-11-09 21:06:11 +0000
committerhunt <hunt>2007-11-09 21:06:11 +0000
commit4405ffef373aa53bfc1e93f70d481dcb095397ed (patch)
tree99f11fada3180f661cfc6dce92f8ce0efd3d194c /examples/small_demos/fileopen.stp
parent185457afd0b9b00f835e2bedcd6801aae432b699 (diff)
downloadsystemtap-steved-4405ffef373aa53bfc1e93f70d481dcb095397ed.tar.gz
systemtap-steved-4405ffef373aa53bfc1e93f70d481dcb095397ed.tar.xz
systemtap-steved-4405ffef373aa53bfc1e93f70d481dcb095397ed.zip
2007-11-09 Martin Hunt <hunt@redhat.com>
* README: New. * *.stp. Fix path. See PR 4718.
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