Dan Magenheimer
2009-Aug-11 22:01 UTC
[Xen-devel] [PATCH] tmem: one-liner correcting stat parsing ordering
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@oracle.com> 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); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel