summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/ChangeLog4
-rwxr-xr-xexamples/iostat-scsi.stp4
2 files changed, 6 insertions, 2 deletions
diff --git a/examples/ChangeLog b/examples/ChangeLog
index ded655b4..c1bf2238 100644
--- a/examples/ChangeLog
+++ b/examples/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-19 Frank Ch. Eigler <fche@elastic.org>
+
+ * iostat-scsi.stp: Adopt "!" probe point flag.
+
2007-11-09 Martin Hunt <hunt@redhat.com>
* README: New.
diff --git a/examples/iostat-scsi.stp b/examples/iostat-scsi.stp
index ec1aeeb8..a65ec3f7 100755
--- a/examples/iostat-scsi.stp
+++ b/examples/iostat-scsi.stp
@@ -3,7 +3,7 @@
global devices, reads, writes
/* data collection: SCSI disk */
-probe module("sd_mod").function("sd_init_command") ?, kernel.function("sd_init_command") ? {
+probe module("sd_mod").function("sd_init_command") !, kernel.function("sd_init_command") {
device=kernel_string($SCpnt->request->rq_disk->disk_name)
sector_size=$SCpnt->device->sector_size
nr_sectors=$SCpnt->request->nr_sectors
@@ -18,7 +18,7 @@ probe module("sd_mod").function("sd_init_command") ?, kernel.function("sd_init_c
reads[device] <<< nr_sectors * sector_size
}
/* data collection: SCSI tape */
-probe module("st").function("st_do_scsi") ?, kernel.function("st_do_scsi") ? {
+probe module("st").function("st_do_scsi") !, kernel.function("st_do_scsi") {
device=kernel_string($STp->disk->disk_name)
devices[device] = 1
if ($direction)