diff options
author | William Cohen <wcohen@redhat.com> | 2008-10-24 12:50:26 -0400 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-10-24 12:50:26 -0400 |
commit | 44767f2025faf9cd9fed01ef5d328a2d470dbf1f (patch) | |
tree | 4a75376896912948a59895bf3679be4c5f696ac5 /testsuite/systemtap.examples/io/disktop.stp | |
parent | c57eb295b15067b8f7964c5e5bd798f1d31a36e5 (diff) | |
download | systemtap-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/disktop.stp')
-rwxr-xr-x | testsuite/systemtap.examples/io/disktop.stp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/systemtap.examples/io/disktop.stp b/testsuite/systemtap.examples/io/disktop.stp index 2637d735..e2c4fc3b 100755 --- a/testsuite/systemtap.examples/io/disktop.stp +++ b/testsuite/systemtap.examples/io/disktop.stp @@ -14,7 +14,7 @@ global io_stat,device global read_bytes,write_bytes -probe kernel.function("vfs_read").return { +probe vfs.read.return { if ($return>0) { dev = __file_dev($file) devname = __find_bdevname(dev,__file_bdev($file)) @@ -27,7 +27,7 @@ probe kernel.function("vfs_read").return { } } -probe kernel.function("vfs_write").return { +probe vfs.write.return { if ($return>0) { dev = __file_dev($file) devname = __find_bdevname(dev,__file_bdev($file)) |