summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/process/pfiles.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.examples/process/pfiles.stp')
-rwxr-xr-xtestsuite/systemtap.examples/process/pfiles.stp8
1 files changed, 7 insertions, 1 deletions
diff --git a/testsuite/systemtap.examples/process/pfiles.stp b/testsuite/systemtap.examples/process/pfiles.stp
index 3b968625..e7a16732 100755
--- a/testsuite/systemtap.examples/process/pfiles.stp
+++ b/testsuite/systemtap.examples/process/pfiles.stp
@@ -1,4 +1,6 @@
-#! /usr/bin/stap -g
+#! /bin/sh
+
+exec stap -g - ${1+"$@"} << 'END'
# pfiles
# Copyright (C) 2007-2010 Red Hat, Inc., Eugene Teo <eteo@redhat.com>
#
@@ -607,3 +609,7 @@ probe begin {
exit()
}
+
+
+END
+