From d8fd2e985cd815704a50d6ef9657f1aa319de1a4 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Tue, 30 Mar 2010 09:59:10 -0400 Subject: testsuite: use #! /usr/bin/env stap instead of /usr/bin/stap --- testsuite/systemtap.examples/profiling/fntimes.stp | 2 +- testsuite/systemtap.examples/profiling/thread-times.stp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'testsuite/systemtap.examples') 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, -- cgit