summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtestsuite/systemtap.examples/profiling/fntimes.stp2
-rwxr-xr-xtestsuite/systemtap.examples/profiling/thread-times.stp2
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/profiling/fntimes.stp b/testsuite/systemtap.examples/profiling/fntimes.stp
index e9daac77..be79b3ef 100755
--- a/testsuite/systemtap.examples/profiling/fntimes.stp
+++ b/testsuite/systemtap.examples/profiling/fntimes.stp
@@ -1,4 +1,4 @@
-#! /usr/bin/stap
+#! /usr/bin/env stap
# usage: fntimes.stp FUNCTIONPROBE
# e.g. fntimes.stp 'module("ext4").function("*")'
diff --git a/testsuite/systemtap.examples/profiling/thread-times.stp b/testsuite/systemtap.examples/profiling/thread-times.stp
index a75ffc5a..55e6d53f 100755
--- a/testsuite/systemtap.examples/profiling/thread-times.stp
+++ b/testsuite/systemtap.examples/profiling/thread-times.stp
@@ -1,4 +1,4 @@
-#! /usr/bin/stap
+#! /usr/bin/env stap
probe perf.sw.cpu_clock!, timer.profile {
// NB: To avoid contention on SMP machines, no global scalars/arrays used,