ia64/xen-unstable

changeset 10649:8e1ae72e905e

[XENTOP] Fix Field attributes and width.

It miss that set the FIELD attribute and width for VBD
information in xentop.c.

Signed-off-by Satoshi UCHIDA <s-uchida@ap.jp.nec.com>
author kfraser@localhost.localdomain
date Wed Jul 05 11:24:09 2006 +0100 (2006-07-05)
parents 82f481bda1c7
children fed18f971f72
files tools/xenstat/xentop/xentop.c
line diff
     1.1 --- a/tools/xenstat/xentop/xentop.c	Wed Jul 05 11:21:19 2006 +0100
     1.2 +++ b/tools/xenstat/xentop/xentop.c	Wed Jul 05 11:24:09 2006 +0100
     1.3 @@ -156,11 +156,11 @@ field fields[] = {
     1.4  	{ FIELD_NETS,    "NETS",       4, compare_nets,    print_nets    },
     1.5  	{ FIELD_NET_TX,  "NETTX(k)",   8, compare_net_tx,  print_net_tx  },
     1.6  	{ FIELD_NET_RX,  "NETRX(k)",   8, compare_net_rx,  print_net_rx  },
     1.7 -	{ FIELD_NET_RX,  "VBDS",       8, compare_vbds,    print_vbds    },
     1.8 -	{ FIELD_NET_RX,  "VBD_OO",     8, compare_vbd_oo,  print_vbd_oo  },
     1.9 -	{ FIELD_NET_RX,  "VBD_RD",     8, compare_vbd_rd,  print_vbd_rd  },
    1.10 -	{ FIELD_NET_RX,  "VBD_WR",     8, compare_vbd_wr,  print_vbd_wr  },
    1.11 -       	{ FIELD_SSID,    "SSID",       4, compare_ssid,    print_ssid    }
    1.12 +	{ FIELD_VBDS,    "VBDS",       4, compare_vbds,    print_vbds    },
    1.13 +	{ FIELD_VBD_OO,  "VBD_OO",     8, compare_vbd_oo,  print_vbd_oo  },
    1.14 +	{ FIELD_VBD_RD,  "VBD_RD",     8, compare_vbd_rd,  print_vbd_rd  },
    1.15 +	{ FIELD_VBD_WR,  "VBD_WR",     8, compare_vbd_wr,  print_vbd_wr  },
    1.16 +	{ FIELD_SSID,    "SSID",       4, compare_ssid,    print_ssid    }
    1.17  };
    1.18  
    1.19  const unsigned int NUM_FIELDS = sizeof(fields)/sizeof(field);