linux-btrace.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] btt: fix iostat interval default
@ 2008-02-13  7:46 Aaron Carroll
  2008-02-13 16:50 ` Alan D. Brunelle
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron Carroll @ 2008-02-13  7:46 UTC (permalink / raw)
  To: linux-btrace

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>
---
 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;

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-02-13 16:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-13  7:46 [PATCH] btt: fix iostat interval default Aaron Carroll
2008-02-13 16:50 ` Alan D. Brunelle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).