This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 5/8] Add missing "#!/usr/bin/env stap" to some examples


---
 .../process/mutex-contention.stp                   |    1 +
 testsuite/systemtap.examples/profiling/perf.stp    |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/testsuite/systemtap.examples/process/mutex-contention.stp b/testsuite/systemtap.examples/process/mutex-contention.stp
index 78233ad..87d5a25 100644
--- a/testsuite/systemtap.examples/process/mutex-contention.stp
+++ b/testsuite/systemtap.examples/process/mutex-contention.stp
@@ -1,3 +1,4 @@
+#! /usr/bin/env stap
 // NOTE: a popup mutex is one that is seen in contention but the init of it was not detected
 // not sure why there are popups - static mutex init?
 
diff --git a/testsuite/systemtap.examples/profiling/perf.stp b/testsuite/systemtap.examples/profiling/perf.stp
index 49bc3f3..feac2d3 100644
--- a/testsuite/systemtap.examples/profiling/perf.stp
+++ b/testsuite/systemtap.examples/profiling/perf.stp
@@ -1,3 +1,4 @@
+#! /usr/bin/env stap
 global cycles_per_insn
 global branch_per_insn
 global cacheref_per_insn
-- 
1.7.2.5


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]