diff options
Diffstat (limited to 'testsuite/systemtap.examples')
-rw-r--r-- | testsuite/systemtap.examples/ChangeLog | 14 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/general/graphs.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/general/para-callgraph.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/io/disktop.stp | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/io/io_submit.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/io/iotop.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/io/traceio.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/io/traceio2.stp | 0 | ||||
-rwxr-xr-x | testsuite/systemtap.examples/process/proc_snoop.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/process/sigkill.stp | 2 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/process/sleepingBeauties.stp | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/profiling/functioncallcount.stp | 0 | ||||
-rwxr-xr-x[-rw-r--r--] | testsuite/systemtap.examples/profiling/thread-times.stp | 0 |
13 files changed, 23 insertions, 5 deletions
diff --git a/testsuite/systemtap.examples/ChangeLog b/testsuite/systemtap.examples/ChangeLog index a7fcd069..e2389993 100644 --- a/testsuite/systemtap.examples/ChangeLog +++ b/testsuite/systemtap.examples/ChangeLog @@ -1,3 +1,17 @@ +2008-08-11 Mark Wielaard <mwielaard@redhat.com> + + PR2895. Reported by Eugeniy Meshcheryakov <eugen@debian.org> + * general/graphs.stp: Add proper #! /usr/bin/env stap line. + * general/para-callgraph.stp: Likewise. + * io/io_submit.stp: Likewise. + * io/iotop.stp: Likewise. + * io/traceio.stp: Likewise. + * process/proc_snoop.stp: Likewise. + * process/sigkill.stp: Likewise. + * iotask.stp: Likewise. + * pfaults.stp: Likewise. + * profile.stp: Likewise. + 2008-08-08 Mark Wielaard <mwielaard@redhat.com> * examples-index-gen.pl: Add index of subsystem and keywords at top of diff --git a/testsuite/systemtap.examples/general/graphs.stp b/testsuite/systemtap.examples/general/graphs.stp index 0c8e3796..f55d6cee 100644..100755 --- a/testsuite/systemtap.examples/general/graphs.stp +++ b/testsuite/systemtap.examples/general/graphs.stp @@ -1,4 +1,4 @@ -#! stap +#! /usr/bin/stap # ------------------------------------------------------------------------ # data collection diff --git a/testsuite/systemtap.examples/general/para-callgraph.stp b/testsuite/systemtap.examples/general/para-callgraph.stp index 1afb8837..e28f5d6b 100644..100755 --- a/testsuite/systemtap.examples/general/para-callgraph.stp +++ b/testsuite/systemtap.examples/general/para-callgraph.stp @@ -1,3 +1,5 @@ +#! /usr/bin/env stap + function trace(entry_p) { if(tid() in trace) printf("%s%s%s\n",thread_indent(entry_p), 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 diff --git a/testsuite/systemtap.examples/process/proc_snoop.stp b/testsuite/systemtap.examples/process/proc_snoop.stp index 24499b4b..5203c93f 100755 --- a/testsuite/systemtap.examples/process/proc_snoop.stp +++ b/testsuite/systemtap.examples/process/proc_snoop.stp @@ -1,4 +1,4 @@ -#!/usr/bin/env stap +#! /usr/bin/env stap global start_ts diff --git a/testsuite/systemtap.examples/process/sigkill.stp b/testsuite/systemtap.examples/process/sigkill.stp index 8f754219..6cb6ed1e 100644..100755 --- a/testsuite/systemtap.examples/process/sigkill.stp +++ b/testsuite/systemtap.examples/process/sigkill.stp @@ -1,4 +1,4 @@ -#!/usr/bin/env stap +#! /usr/bin/env stap # sigkill.stp # Copyright (C) 2007 Red Hat, Inc., Eugene Teo <eteo@redhat.com> # diff --git a/testsuite/systemtap.examples/process/sleepingBeauties.stp b/testsuite/systemtap.examples/process/sleepingBeauties.stp index 64c563a3..64c563a3 100644..100755 --- a/testsuite/systemtap.examples/process/sleepingBeauties.stp +++ b/testsuite/systemtap.examples/process/sleepingBeauties.stp diff --git a/testsuite/systemtap.examples/profiling/functioncallcount.stp b/testsuite/systemtap.examples/profiling/functioncallcount.stp index e393b612..e393b612 100644..100755 --- a/testsuite/systemtap.examples/profiling/functioncallcount.stp +++ b/testsuite/systemtap.examples/profiling/functioncallcount.stp diff --git a/testsuite/systemtap.examples/profiling/thread-times.stp b/testsuite/systemtap.examples/profiling/thread-times.stp index 1aeb2037..1aeb2037 100644..100755 --- a/testsuite/systemtap.examples/profiling/thread-times.stp +++ b/testsuite/systemtap.examples/profiling/thread-times.stp |