aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenstat/libxenstat
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-06 16:12:07 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-07-06 16:12:07 +0100
commitbe259653f3f1713426ddea9436bffe998b54ae78 (patch)
treeb5b6c1867d9e9b04d0ecb13655ea41dcb6ecf68f /tools/xenstat/libxenstat
parent8d374ca1d1c9c2c454503d70bbc66fd8f219f71f (diff)
downloadxen-be259653f3f1713426ddea9436bffe998b54ae78.tar.gz
xen-be259653f3f1713426ddea9436bffe998b54ae78.tar.bz2
xen-be259653f3f1713426ddea9436bffe998b54ae78.zip
Extended the physinfo sysctl to export NUMA cpu_to_node topology info.
Print this in 'xm info'. Signed-off-by: Ryan Harper <ryanh@us.ibm.com> Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xenstat/libxenstat')
-rw-r--r--tools/xenstat/libxenstat/src/xenstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenstat/libxenstat/src/xenstat.c b/tools/xenstat/libxenstat/src/xenstat.c
index 93d228c2f6..a109960c41 100644
--- a/tools/xenstat/libxenstat/src/xenstat.c
+++ b/tools/xenstat/libxenstat/src/xenstat.c
@@ -135,7 +135,7 @@ xenstat_node *xenstat_get_node(xenstat_handle * handle, unsigned int flags)
{
#define DOMAIN_CHUNK_SIZE 256
xenstat_node *node;
- xc_physinfo_t physinfo;
+ xc_physinfo_t physinfo = { 0 };
xc_domaininfo_t domaininfo[DOMAIN_CHUNK_SIZE];
unsigned int new_domains;
unsigned int i;