aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace
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/xentrace
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/xentrace')
-rw-r--r--tools/xentrace/xentrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xentrace/xentrace.c b/tools/xentrace/xentrace.c
index 45fb99f7e7..ad06778592 100644
--- a/tools/xentrace/xentrace.c
+++ b/tools/xentrace/xentrace.c
@@ -256,7 +256,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;