summaryrefslogtreecommitdiffstats
path: root/testsuite/buildok
diff options
context:
space:
mode:
authorDave Brolley <brolley@redhat.com>2009-11-24 14:51:46 -0500
committerDave Brolley <brolley@redhat.com>2009-11-24 14:51:46 -0500
commit7067e1b0418eed528fe2d102654dbe12bb9236af (patch)
tree8120ae0263ef32cdc7fa3b2132e7acb3af03d3e0 /testsuite/buildok
parent37f1e3c413aee81f7590de431d232a474eb412ee (diff)
parent90bba7158de040705a101ba1fdf6062866b4b4e9 (diff)
downloadsystemtap-steved-7067e1b0418eed528fe2d102654dbe12bb9236af.tar.gz
systemtap-steved-7067e1b0418eed528fe2d102654dbe12bb9236af.tar.xz
systemtap-steved-7067e1b0418eed528fe2d102654dbe12bb9236af.zip
Merge branch 'master' of ssh://sources.redhat.com/git/systemtap
Diffstat (limited to 'testsuite/buildok')
-rwxr-xr-xtestsuite/buildok/ioblock_test.stp7
-rwxr-xr-xtestsuite/buildok/ioscheduler.stp12
-rwxr-xr-xtestsuite/buildok/netdev.stp4
3 files changed, 21 insertions, 2 deletions
diff --git a/testsuite/buildok/ioblock_test.stp b/testsuite/buildok/ioblock_test.stp
index 4d3dadfa..21595021 100755
--- a/testsuite/buildok/ioblock_test.stp
+++ b/testsuite/buildok/ioblock_test.stp
@@ -25,3 +25,10 @@ probe ioblock.end {
devname, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, size, bytes_done, error, ino)
%)
}
+
+probe ioblock_trace.*
+{
+ log(pp())
+ printf("%s\t%d\t%d\t%d\t%d\t%s\t%d\t%d\t%d\t%d\t%d\t%d\t%p\t%p\t%d\n",
+ devname, q, sector, flags, rw, bio_rw_str(rw), vcnt, idx, phys_segments, size, bytes_done, ino, p_start_sect, bdev_contains, bdev)
+}
diff --git a/testsuite/buildok/ioscheduler.stp b/testsuite/buildok/ioscheduler.stp
index 2d88d2d5..8b377619 100755
--- a/testsuite/buildok/ioscheduler.stp
+++ b/testsuite/buildok/ioscheduler.stp
@@ -7,3 +7,15 @@ probe ioscheduler.*
printf("ppname: %s, elv_name: %s, %d, %d", probefunc(),
elevator_name, disk_major, disk_minor)
}
+
+probe ioscheduler_trace.elv*
+{
+ printf("ppname: %s, request %p, elv_name: %s, %d, %d", probefunc(),
+ rq, elevator_name, disk_major, disk_minor)
+}
+
+probe ioscheduler_trace.plug, ioscheduler_trace.unplug_io, ioscheduler_trace.unplug_timer
+{
+ printf("ppname: %s, request %p", probefunc(), rq_queue)
+}
+
diff --git a/testsuite/buildok/netdev.stp b/testsuite/buildok/netdev.stp
index 49a1eb5c..7e4be82c 100755
--- a/testsuite/buildok/netdev.stp
+++ b/testsuite/buildok/netdev.stp
@@ -1,6 +1,6 @@
#! stap -wp4
-probe netdev.get_stats{
+probe netdev.get_stats ? {
printf("%s", dev_name)
}
@@ -21,7 +21,7 @@ probe netdev.set_promiscuity {
disable, inc)
}
-probe netdev.change_rx_flag {
+probe netdev.change_rx_flag ? {
printf("%s %d", dev_name, flags)
}