summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.samples
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.samples')
-rw-r--r--testsuite/systemtap.samples/iotask.stp1
-rw-r--r--testsuite/systemtap.samples/pfaults.stp2
-rw-r--r--testsuite/systemtap.samples/profile.stp2
3 files changed, 3 insertions, 2 deletions
diff --git a/testsuite/systemtap.samples/iotask.stp b/testsuite/systemtap.samples/iotask.stp
index ee0ae4b4..1b4c7243 100644
--- a/testsuite/systemtap.samples/iotask.stp
+++ b/testsuite/systemtap.samples/iotask.stp
@@ -1,3 +1,4 @@
+#! /usr/bin/env stap
# iotask.stp
# A reimplementation of user script: iotask.stp given at OLS 2005
# in the current language.
diff --git a/testsuite/systemtap.samples/pfaults.stp b/testsuite/systemtap.samples/pfaults.stp
index 525aa511..577e93cd 100644
--- a/testsuite/systemtap.samples/pfaults.stp
+++ b/testsuite/systemtap.samples/pfaults.stp
@@ -1,4 +1,4 @@
-#! stap
+#! /usr/bin/env stap
global pidnames, faults, fault_types
diff --git a/testsuite/systemtap.samples/profile.stp b/testsuite/systemtap.samples/profile.stp
index d052f091..62af76ae 100644
--- a/testsuite/systemtap.samples/profile.stp
+++ b/testsuite/systemtap.samples/profile.stp
@@ -1,4 +1,4 @@
-#! stap
+#! /usr/bin/env stap
global command, syscall_count, syscall_times, this_syscall_time, this_syscall