diff options
author | William Cohen <wcohen@redhat.com> | 2008-12-10 14:54:14 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-12-10 14:54:14 -0500 |
commit | 9a701ca695c885e9524a5f9488e1fc952d325f54 (patch) | |
tree | 9afc252a9984086e9d9f43d677d70e8048732348 /doc/SystemTap_Beginners_Guide/en-US | |
parent | 1c0f18a9730f1fa5990c79debfc1960b08c8b7cf (diff) | |
download | systemtap-steved-9a701ca695c885e9524a5f9488e1fc952d325f54.tar.gz systemtap-steved-9a701ca695c885e9524a5f9488e1fc952d325f54.tar.xz systemtap-steved-9a701ca695c885e9524a5f9488e1fc952d325f54.zip |
Clean up formatting iotime-simple.stp
Diffstat (limited to 'doc/SystemTap_Beginners_Guide/en-US')
-rw-r--r-- | doc/SystemTap_Beginners_Guide/en-US/extras/iotime-simple.stp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/SystemTap_Beginners_Guide/en-US/extras/iotime-simple.stp b/doc/SystemTap_Beginners_Guide/en-US/extras/iotime-simple.stp index a14f7731..a16ee4a2 100644 --- a/doc/SystemTap_Beginners_Guide/en-US/extras/iotime-simple.stp +++ b/doc/SystemTap_Beginners_Guide/en-US/extras/iotime-simple.stp @@ -68,10 +68,10 @@ 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]) + 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] @@ -79,4 +79,4 @@ probe syscall.close { delete fd_io[pid()] delete entry_io[pid()] delete time_io[pid(),$fd] -}
\ No newline at end of file +} |