summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io/iotop.stp
diff options
context:
space:
mode:
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
}