aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xenmon
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/xenmon
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/xenmon')
-rw-r--r--tools/xenmon/xenbaked.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xenmon/xenbaked.c b/tools/xenmon/xenbaked.c
index 5908a6c1c9..1587016335 100644
--- a/tools/xenmon/xenbaked.c
+++ b/tools/xenmon/xenbaked.c
@@ -444,7 +444,7 @@ struct t_rec **init_rec_ptrs(struct t_buf **meta, unsigned int num)
*/
unsigned int get_num_cpus(void)
{
- xc_physinfo_t physinfo;
+ xc_physinfo_t physinfo = { 0 };
int xc_handle = xc_interface_open();
int ret;