summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io/iotop.stp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-10-24 12:50:26 -0400
committerWilliam Cohen <wcohen@redhat.com>2008-10-24 12:50:26 -0400
commit44767f2025faf9cd9fed01ef5d328a2d470dbf1f (patch)
tree4a75376896912948a59895bf3679be4c5f696ac5 /testsuite/systemtap.examples/io/iotop.stp
parentc57eb295b15067b8f7964c5e5bd798f1d31a36e5 (diff)
downloadsystemtap-steved-44767f2025faf9cd9fed01ef5d328a2d470dbf1f.tar.gz
systemtap-steved-44767f2025faf9cd9fed01ef5d328a2d470dbf1f.tar.xz
systemtap-steved-44767f2025faf9cd9fed01ef5d328a2d470dbf1f.zip
Use vfs tapset rather than kernel functions probes.
Diffstat (limited to 'testsuite/systemtap.examples/io/iotop.stp')
-rwxr-xr-xtestsuite/systemtap.examples/io/iotop.stp4
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/io/iotop.stp b/testsuite/systemtap.examples/io/iotop.stp
index 2fa3e3ae..f868169b 100755
--- a/testsuite/systemtap.examples/io/iotop.stp
+++ b/testsuite/systemtap.examples/io/iotop.stp
@@ -2,11 +2,11 @@
global reads, writes, total_io
-probe kernel.function("vfs_read") {
+probe vfs.read {
reads[execname()] += $count
}
-probe kernel.function("vfs_write") {
+probe vfs.write {
writes[execname()] += $count
}