diff options
author | William Cohen <wcohen@redhat.com> | 2008-12-09 11:20:11 -0500 |
---|---|---|
committer | William Cohen <wcohen@redhat.com> | 2008-12-09 11:20:11 -0500 |
commit | 4ffc629674ac7d1d84b93cb7fdca71953983f762 (patch) | |
tree | dca338602903ba87b69592b40faa35ca74b7966e /testsuite/systemtap.examples/io/iotime.stp | |
parent | 73dc0c77745ee09db15542c14f7e048f91e121e6 (diff) | |
download | systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.gz systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.tar.xz systemtap-steved-4ffc629674ac7d1d84b93cb7fdca71953983f762.zip |
Tweak formatting, indent two space.
Diffstat (limited to 'testsuite/systemtap.examples/io/iotime.stp')
-rwxr-xr-x | testsuite/systemtap.examples/io/iotime.stp | 7 |
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] |