summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io/iotime.stp
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/systemtap.examples/io/iotime.stp')
-rwxr-xr-xtestsuite/systemtap.examples/io/iotime.stp7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/systemtap.examples/io/iotime.stp b/testsuite/systemtap.examples/io/iotime.stp
index 4fbd6b6e..60fb09af 100755
--- a/testsuite/systemtap.examples/io/iotime.stp
+++ b/testsuite/systemtap.examples/io/iotime.stp
@@ -98,11 +98,12 @@ probe syscall.write.return {
probe syscall.close {
if (filehandles[pid(), $fd] != "") {
- printf("%d %s access %s read: %d write: %d\n", timestamp(), proc(),
- filehandles[pid(), $fd], fileread[pid(), $fd], filewrite[pid(), $fd])
+ printf("%d %s access %s read: %d write: %d\n",
+ timestamp(), proc(), filehandles[pid(), $fd],
+ fileread[pid(), $fd], filewrite[pid(), $fd])
if (@count(time_io[pid(), $fd]))
printf("%d %s iotime %s time: %d\n", timestamp(), proc(),
- filehandles[pid(), $fd], @sum(time_io[pid(), $fd]))
+ filehandles[pid(), $fd], @sum(time_io[pid(), $fd]))
}
delete fileread[pid(), $fd]
delete filewrite[pid(), $fd]