WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] tmem: one-liner correcting stat parsing ordering

To: "Xen-Devel (E-mail)" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] tmem: one-liner correcting stat parsing ordering
From: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>
Date: Tue, 11 Aug 2009 15:01:04 -0700 (PDT)
Delivery-date: Tue, 11 Aug 2009 15:01:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Small mistake in xen-tmem-list-parse.c printf ordering.

Fixed this locally over a month ago, but apparently never
made it into a patch I submitted. :-}

Signed-off-by: Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>

diff -r b9cdcf502aa3 tools/misc/xen-tmem-list-parse.c
--- a/tools/misc/xen-tmem-list-parse.c  Thu Aug 06 11:14:48 2009 +0100
+++ b/tools/misc/xen-tmem-list-parse.c  Tue Aug 11 15:52:44 2009 -0600
@@ -185,8 +185,8 @@ void parse_client(char *s)
            "eph_count=%llu,max_eph=%llu,"
            "compression ratio=%lu%% (samples=%llu,poor=%llu,nomem=%llu)\n",
            cli_id, weight, cap, compress?1:0, frozen?1:0,
+           total_cycles, succ_eph_gets, succ_pers_puts, succ_pers_gets, 
            eph_count, max_eph_count,
-           total_cycles, succ_eph_gets, succ_pers_puts, succ_pers_gets, 
            compressed_pages ?  (long)((compressed_sum_size*100LL) /
                                       (compressed_pages*PAGE_SIZE)) : 0,
            compressed_pages, compress_poor, compress_nomem);

Attachment: tmem-listparse-cycles.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] tmem: one-liner correcting stat parsing ordering, Dan Magenheimer <=