summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.examples/io/iotime.stp
diff options
context:
space:
mode:
authorWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
committerWilliam Cohen <wcohen@redhat.com>2008-12-09 11:20:11 -0500
commit4ffc629674ac7d1d84b93cb7fdca71953983f762 (patch)
treedca338602903ba87b69592b40faa35ca74b7966e /testsuite/systemtap.examples/io/iotime.stp
parent73dc0c77745ee09db15542c14f7e048f91e121e6 (diff)
downloadsystemtap-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-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]