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/iotop.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/iotop.stp')
-rwxr-xr-x | testsuite/systemtap.examples/io/iotop.stp | 4 |
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 } |