diff options
-rw-r--r-- | examples/ChangeLog | 5 | ||||
-rw-r--r-- | examples/futexes.stp | 2 | ||||
-rw-r--r-- | examples/helloworld.stp | 1 | ||||
-rw-r--r-- | examples/iostat-scsi.stp | 2 | ||||
-rw-r--r-- | examples/iotime.stp | 2 | ||||
-rw-r--r-- | examples/nettop.stp | 2 | ||||
-rw-r--r-- | examples/pf2.stp | 3 | ||||
-rwxr-xr-x | examples/sig_by_pid.stp | 2 | ||||
-rwxr-xr-x | examples/sig_by_proc.stp | 2 | ||||
-rwxr-xr-x | examples/sigmon.stp | 2 | ||||
-rw-r--r-- | examples/sleeptime.stp | 1 | ||||
-rw-r--r-- | examples/socket-trace.stp | 1 | ||||
-rwxr-xr-x | examples/syscalls_by_pid.stp | 2 | ||||
-rwxr-xr-x | examples/syscalls_by_proc.stp | 2 | ||||
-rw-r--r-- | examples/wait4time.stp | 2 |
15 files changed, 24 insertions, 7 deletions
diff --git a/examples/ChangeLog b/examples/ChangeLog index 0678f284..3fe56772 100644 --- a/examples/ChangeLog +++ b/examples/ChangeLog @@ -1,3 +1,8 @@ +2007-08-09 Frank Ch. Eigler <fche@elastic.org> + + PR 4718, from Eugeniy Meshcheryakov <eugen@debian.org>: + * *.stp: Make all shell scripts lead with #! /usr/bin/stap + 2007-05-29 Mike Mason <mmlnx@us.ibm.com> * sig_count_by_pid.stp, sig_count_by_pid.txt, diff --git a/examples/futexes.stp b/examples/futexes.stp index 608ce0de..78af3c92 100644 --- a/examples/futexes.stp +++ b/examples/futexes.stp @@ -1,4 +1,4 @@ -#! stap +#! /usr/bin/stap # This script tries to identify contended user-space locks by hooking # into the futex system call. diff --git a/examples/helloworld.stp b/examples/helloworld.stp index 82e406af..c1e50c0f 100644 --- a/examples/helloworld.stp +++ b/examples/helloworld.stp @@ -1 +1,2 @@ +#! /usr/bin/stap probe begin { log("hello world") exit () } diff --git a/examples/iostat-scsi.stp b/examples/iostat-scsi.stp index 2fb4acf1..f02f4275 100644 --- a/examples/iostat-scsi.stp +++ b/examples/iostat-scsi.stp @@ -1,3 +1,5 @@ +#! /usr/bin/stap + global devices, reads, writes /* data collection: SCSI disk */ diff --git a/examples/iotime.stp b/examples/iotime.stp index d36fa321..c9b17041 100644 --- a/examples/iotime.stp +++ b/examples/iotime.stp @@ -1,3 +1,5 @@ +#! /usr/bin/stap + /* * Copyright (C) 2006 Daniel Berrange, Red Hat Inc. * Copyright (C) 2007 Will Cohen, Red Hat, Inc. diff --git a/examples/nettop.stp b/examples/nettop.stp index 4004a03d..c756f828 100644 --- a/examples/nettop.stp +++ b/examples/nettop.stp @@ -1,3 +1,5 @@ +#! /usr/bin/stap + global ifxmit, ifrecv, ifdevs, ifpid, execname, user probe netdev.transmit diff --git a/examples/pf2.stp b/examples/pf2.stp index dce2cdec..5773df97 100644 --- a/examples/pf2.stp +++ b/examples/pf2.stp @@ -1,4 +1,5 @@ -#! stap +#! /usr/bin/stap + global profile, pcount probe timer.profile { pcount ++ diff --git a/examples/sig_by_pid.stp b/examples/sig_by_pid.stp index a8e8be84..4e0600f1 100755 --- a/examples/sig_by_pid.stp +++ b/examples/sig_by_pid.stp @@ -1,4 +1,4 @@ -#! stap +#! /usr/bin/stap # Copyright (C) 2006 IBM Corp. # diff --git a/examples/sig_by_proc.stp b/examples/sig_by_proc.stp index 15c31a63..192f3d34 100755 --- a/examples/sig_by_proc.stp +++ b/examples/sig_by_proc.stp @@ -1,4 +1,4 @@ -#! stap +#! /usr/bin/stap # Copyright (C) 2006 IBM Corp. # diff --git a/examples/sigmon.stp b/examples/sigmon.stp index 87ae3ea4..42cb1892 100755 --- a/examples/sigmon.stp +++ b/examples/sigmon.stp @@ -1,4 +1,4 @@ -#!/bin/sh stap +#! /usr/bin/stap # Copyright (C) 2006 IBM Corp. # diff --git a/examples/sleeptime.stp b/examples/sleeptime.stp index 3d8dc359..3234048f 100644 --- a/examples/sleeptime.stp +++ b/examples/sleeptime.stp @@ -1,3 +1,4 @@ +#! /usr/bin/stap /* * Copyright (C) 2006 Daniel Berrange, Red Hat Inc. * Copyright (C) 2007 Will Cohen, Red Hat, Inc. diff --git a/examples/socket-trace.stp b/examples/socket-trace.stp index a34a33a8..e574205a 100644 --- a/examples/socket-trace.stp +++ b/examples/socket-trace.stp @@ -1,3 +1,4 @@ +#! /usr/bin/stap probe kernel.function("*@net/socket.c").call { printf ("%s -> %s\n", thread_indent(1), probefunc()) } diff --git a/examples/syscalls_by_pid.stp b/examples/syscalls_by_pid.stp index 6870f28a..ceb5821a 100755 --- a/examples/syscalls_by_pid.stp +++ b/examples/syscalls_by_pid.stp @@ -1,4 +1,4 @@ -#! stap +#! /usr/bin/stap # Copyright (C) 2006 IBM Corp. # diff --git a/examples/syscalls_by_proc.stp b/examples/syscalls_by_proc.stp index b28d4553..1807a46c 100755 --- a/examples/syscalls_by_proc.stp +++ b/examples/syscalls_by_proc.stp @@ -1,4 +1,4 @@ -#! stap +#! /usr/bin/stap # Copyright (C) 2006 IBM Corp. # diff --git a/examples/wait4time.stp b/examples/wait4time.stp index 04bdec08..cf74fa55 100644 --- a/examples/wait4time.stp +++ b/examples/wait4time.stp @@ -1,3 +1,5 @@ +#! /usr/bin/stap + /* * Copyright (C) 2006 Daniel Berrange, Red Hat Inc. * Copyright (C) 2007 Will Cohen, Red Hat, Inc. |