Message ID | 4fd751d1a45632f9ed0a32b7fc7988343ad03f83.1582143896.git.linux@eikelenboom.it (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | tools/xentop: Fix calculation of used memory and some cleanups | expand |
On Wed, Feb 19, 2020 at 09:31:32PM +0100, Sander Eikelenboom wrote: > Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it> Acked-by: Wei Liu <wl@xen.org>
diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index bbb5d47b76..fdcfb3b396 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -1015,7 +1015,7 @@ void do_bottom_line(void) addch(A_REVERSE | 'N'); attr_addstr(show_networks ? COLOR_PAIR(1) : 0, "etworks"); addstr(" "); - + /* VBDs */ attr_addstr(show_vbds ? COLOR_PAIR(1) : 0, "v"); addch(A_REVERSE | 'B'); @@ -1123,7 +1123,7 @@ void do_vbd(xenstat_domain *domain) "BlkBack", /* number 1 */ "BlkTap", /* number 2 */ }; - + num_vbds = xenstat_domain_num_vbds(domain); for (i=0 ; i< num_vbds; i++) {
Signed-off-by: Sander Eikelenboom <linux@eikelenboom.it> --- tools/xenstat/xentop/xentop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)