summaryrefslogtreecommitdiff
path: root/btt
diff options
context:
space:
mode:
authorAaron Carroll <aaronc@gelato.unsw.edu.au>2008-02-13 18:46:40 +1100
committerAlan D. Brunelle <alan.brunelle@hp.com>2008-02-13 11:42:48 -0500
commit3e95108c8e2c1e804f54d1512f83eb6eff90cc13 (patch)
tree46375b332097aa4fb097d30cecb94a0568142426 /btt
parentef14423994b40499402269896fc1aa5567bcdba9 (diff)
downloadblktrace-3e95108c8e2c1e804f54d1512f83eb6eff90cc13.tar.gz
blktrace-3e95108c8e2c1e804f54d1512f83eb6eff90cc13.tar.bz2
btt: fix iostat interval default
Change the default iostat interval from 1ns to 1s, which is the default implied by btt.1 and common sense. Signed-off-by: Aaron Carroll <aaronc@gelato.unsw.edu.au>
Diffstat (limited to 'btt')
-rw-r--r--btt/iostat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btt/iostat.c b/btt/iostat.c
index f46d572..e920c80 100644
--- a/btt/iostat.c
+++ b/btt/iostat.c
@@ -49,7 +49,7 @@
} while (0)
__u64 last_start, iostat_last_stamp;
-__u64 iostat_interval = 1;
+__u64 iostat_interval = 1000000000;
char *iostat_name = NULL;
FILE *iostat_ofp = NULL;