All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Alan D. Brunelle" <Alan.Brunelle@hp.com>
To: linux-btrace@vger.kernel.org
Subject: Re: [PATCH] btt: fix iostat interval default
Date: Wed, 13 Feb 2008 16:50:43 +0000	[thread overview]
Message-ID: <47B31FE3.2060709@hp.com> (raw)
In-Reply-To: <47B2A060.3020602@gelato.unsw.edu.au>

Aaron Carroll wrote:
> 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;
> 

Looks good, applied, thanks!

Alan

      reply	other threads:[~2008-02-13 16:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13  7:46 [PATCH] btt: fix iostat interval default Aaron Carroll
2008-02-13 16:50 ` Alan D. Brunelle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47B31FE3.2060709@hp.com \
    --to=alan.brunelle@hp.com \
    --cc=linux-btrace@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.