Linux btrace development
 help / color / mirror / Atom feed
From: "Alan D. Brunelle" <alan.brunelle@hp.com>
To: linux-btrace@vger.kernel.org
Subject: [PATCH BTT]: Re: typo?
Date: Mon, 26 Mar 2007 12:10:54 +0000	[thread overview]
Message-ID: <4607B84E.4030600@hp.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: fix-output-unplug --]
[-- Type: text/plain, Size: 915 bytes --]

From: Alan D. Brunelle <Alan.Brunelle@hp.com>

Fix output of unplug totals (cut-and-paste error with total caption).

Signed-off-by: Alan D. Brunelle <Alan.Brunelle@hp.com>
---

 btt/output.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/btt/output.c b/btt/output.c
index 1278434..6851848 100644
--- a/btt/output.c
+++ b/btt/output.c
@@ -466,8 +466,8 @@ void __dip_output_plug_all(FILE *ofp, struct plug_info *p)
 {
 	fprintf(ofp, "---------- | ---------- ----------  | ----------------\n");
 	fprintf(ofp, "%10s | %10s %10s  | %s\n", 
-	        "DEV", "# Plugs", "# Timer Us", "% Time Q Plugged");
-	fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "OVERALL",
+	        "Overall", "# Plugs", "# Timer Us", "% Time Q Plugged");
+	fprintf(ofp, "%10s | %10ld(%10ld) | %13.9lf%%\n", "Average",
 	        p->n_plugs / n_plugs, p->n_timer_unplugs / n_plugs, 
 		p->t_percent / n_plugs);
 

             reply	other threads:[~2007-03-26 12:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-26 12:10 Alan D. Brunelle [this message]
2007-03-26 13:28 ` [PATCH BTT]: Re: typo? Ming Zhang

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=4607B84E.4030600@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox