Skip to contentSkip to conversation

fix field attributes and width for xentop

PATCH New Satoshi Uchida 1 participant 1 message Jul 5, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix field attributes and width for xentop

Sorry.

I missed setting for FILED attributes and width of VBD information in last patch. Therefore, the format of xentop is shifted from VBDS column.
(it missed only last patch. probably, copy miss.)

This patch fixed this problem.

Thanks,
Satoshi UCHIDA

# HG changeset patch
# User Satoshi UCHIDA <[email protected]> # Node ID 098261ef9ad7eded9aa52ccc045cf4feb1e73a91 # Parent 3fe11185adfba107da8d81808ef4e3097dc41dcd [XENTOP] Fix Field attributes and width.

It miss that set the FIELD attribute and width for VBD infromation
in xentop.c. this patch is fixed this problem.

Signed-off-by Satoshi UCHIDA <[email protected]>

tools/xenstat/xentop/xentop.c +5 -5
diff -r 3fe11185adfb -r 098261ef9ad7 tools/xenstat/xentop/xentop.c
@@ -156,11 +156,11 @@ field fields[] = {
 	{ FIELD_NETS,    "NETS",       4, compare_nets,    print_nets    },
 	{ FIELD_NET_TX,  "NETTX(k)",   8, compare_net_tx,  print_net_tx  },
 	{ FIELD_NET_RX,  "NETRX(k)",   8, compare_net_rx,  print_net_rx  },
-	{ FIELD_NET_RX,  "VBDS",       8, compare_vbds,    print_vbds    },
-	{ FIELD_NET_RX,  "VBD_OO",     8, compare_vbd_oo,  print_vbd_oo  },
-	{ FIELD_NET_RX,  "VBD_RD",     8, compare_vbd_rd,  print_vbd_rd  },
-	{ FIELD_NET_RX,  "VBD_WR",     8, compare_vbd_wr,  print_vbd_wr  },
-       	{ FIELD_SSID,    "SSID",       4, compare_ssid,    print_ssid    }
+	{ FIELD_VBDS,    "VBDS",       4, compare_vbds,    print_vbds    },
+	{ FIELD_VBD_OO,  "VBD_OO",     8, compare_vbd_oo,  print_vbd_oo  },
+	{ FIELD_VBD_RD,  "VBD_RD",     8, compare_vbd_rd,  print_vbd_rd  },
+	{ FIELD_VBD_WR,  "VBD_WR",     8, compare_vbd_wr,  print_vbd_wr  },
+	{ FIELD_SSID,    "SSID",       4, compare_ssid,    print_ssid    }
 };
 
 const unsigned int NUM_FIELDS = sizeof(fields)/sizeof(field);

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel