summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2010-03-30 09:59:10 -0400
committerFrank Ch. Eigler <fche@elastic.org>2010-03-30 12:52:50 -0400
commitd8fd2e985cd815704a50d6ef9657f1aa319de1a4 (patch)
tree774e2e154d3bc9947c43a2141c031ee089b6d90b
parent8a1d8fbf543260108adf064fe368399dc477567e (diff)
downloadsystemtap-steved-d8fd2e985cd815704a50d6ef9657f1aa319de1a4.tar.gz
systemtap-steved-d8fd2e985cd815704a50d6ef9657f1aa319de1a4.tar.xz
systemtap-steved-d8fd2e985cd815704a50d6ef9657f1aa319de1a4.zip
testsuite: use #! /usr/bin/env stap instead of /usr/bin/stap
-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,