summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io
diff options
context:
space:
mode:
authorMark Wielaard <mwielaard@redhat.com>2008-08-11 12:24:47 +0200
committerMark Wielaard <mwielaard@redhat.com>2008-08-11 12:24:47 +0200
commita81c61ac1947cb5c13d3a758fc793a119b88b4e0 (patch)
tree5ff0d5324bbc81d361d054ce630118869063ad61 /testsuite/systemtap.examples/io
parent5b8561dccfd6d79184c044cec6bd7d01ef415acc (diff)
downloadsystemtap-steved-a81c61ac1947cb5c13d3a758fc793a119b88b4e0.tar.gz
systemtap-steved-a81c61ac1947cb5c13d3a758fc793a119b88b4e0.tar.xz
systemtap-steved-a81c61ac1947cb5c13d3a758fc793a119b88b4e0.zip
PR2895. Add proper #! /usr/bin/env stap line. Make example scripts executable.
Diffstat (limited to 'testsuite/systemtap.examples/io')
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/io/disktop.stp0
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/io/io_submit.stp2
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/io/iotop.stp2
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/io/traceio.stp2
-rwxr-xr-x[-rw-r--r--]testsuite/systemtap.examples/io/traceio2.stp0
5 files changed, 4 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/io/disktop.stp b/testsuite/systemtap.examples/io/disktop.stp
index 2637d735..2637d735 100644..100755
--- a/testsuite/systemtap.examples/io/disktop.stp
+++ b/testsuite/systemtap.examples/io/disktop.stp
diff --git a/testsuite/systemtap.examples/io/io_submit.stp b/testsuite/systemtap.examples/io/io_submit.stp
index 735dd6f9..7f350305 100644..100755
--- a/testsuite/systemtap.examples/io/io_submit.stp
+++ b/testsuite/systemtap.examples/io/io_submit.stp
@@ -1,4 +1,4 @@
-#!/bin/env stap
+#! /bin/env stap
#
# Copyright (C) 2007 Oracle Corp. Chris Mason <chris.mason@oracle.com>
#
diff --git a/testsuite/systemtap.examples/io/iotop.stp b/testsuite/systemtap.examples/io/iotop.stp
index 6050343c..2fa3e3ae 100644..100755
--- a/testsuite/systemtap.examples/io/iotop.stp
+++ b/testsuite/systemtap.examples/io/iotop.stp
@@ -1,3 +1,5 @@
+#! /usr/bin/env stap
+
global reads, writes, total_io
probe kernel.function("vfs_read") {
diff --git a/testsuite/systemtap.examples/io/traceio.stp b/testsuite/systemtap.examples/io/traceio.stp
index d3757c23..cb667be5 100644..100755
--- a/testsuite/systemtap.examples/io/traceio.stp
+++ b/testsuite/systemtap.examples/io/traceio.stp
@@ -1,4 +1,4 @@
-#!/usr/bin/env stap
+#! /usr/bin/env stap
# traceio.stp
# Copyright (C) 2007 Red Hat, Inc., Eugene Teo <eteo@redhat.com>
#
diff --git a/testsuite/systemtap.examples/io/traceio2.stp b/testsuite/systemtap.examples/io/traceio2.stp
index 656c38b3..656c38b3 100644..100755
--- a/testsuite/systemtap.examples/io/traceio2.stp
+++ b/testsuite/systemtap.examples/io/traceio2.stp