[PATCH] btt: fix iostat interval default

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxx>
---
 btt/iostat.c |    2 +-
 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;
-
To unsubscribe from this list: send the line "unsubscribe linux-btrace" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux