summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtop-nfscalls.stp5
-rwxr-xr-xtop-nfsdcalls.stp5
-rwxr-xr-xtop-rpccalls.stp6
3 files changed, 9 insertions, 7 deletions
diff --git a/top-nfscalls.stp b/top-nfscalls.stp
index f3a36e3..62fe9d0 100755
--- a/top-nfscalls.stp
+++ b/top-nfscalls.stp
@@ -13,7 +13,8 @@ probe kernel.function("*@fs/nfs") ?,
}
probe end {
- foreach (name in nfscalls- limit 20)
- printf("%10d %s\n", nfscalls[name], name)
+ printf("Collating data...\n");
+ foreach (name in nfscalls- limit 20)
+ printf("%10d %s\n", nfscalls[name], name)
}
diff --git a/top-nfsdcalls.stp b/top-nfsdcalls.stp
index a167d4c..7bfdf03 100755
--- a/top-nfsdcalls.stp
+++ b/top-nfsdcalls.stp
@@ -13,7 +13,8 @@ probe kernel.function("*@fs/nfsd") ?,
}
probe end {
- foreach (name in nfsdcalls- limit 200)
- printf("%10d %s\n", nfsdcalls[name], name)
+ printf("Collating data...\n");
+ foreach (name in nfsdcalls- limit 200)
+ printf("%10d %s\n", nfsdcalls[name], name)
}
diff --git a/top-rpccalls.stp b/top-rpccalls.stp
index 06de8e5..477cd06 100755
--- a/top-rpccalls.stp
+++ b/top-rpccalls.stp
@@ -13,8 +13,8 @@ probe kernel.function("*@net/sunrpc") ?,
}
probe end {
- printf("prob end:\n")
- foreach (name in rpccalls- limit 40)
- printf("%10d %s\n", rpccalls[name], name)
+ printf("Collating data...\n");
+ foreach (name in rpccalls- limit 40)
+ printf("%10d %s\n", rpccalls[name], name)
}