WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH] Fix set cpu_mask of xentrace

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Fix set cpu_mask of xentrace
From: "Yang, Xiaowei" <xiaowei.yang@xxxxxxxxx>
Date: Thu, 19 Oct 2006 17:05:12 +0800
Delivery-date: Thu, 19 Oct 2006 02:05:44 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbzXTGe6ebvPahdQwGKKEojrPx9GwAAAsFw
Thread-topic: [PATCH] Fix set cpu_mask of xentrace
Should be a typo. 

diff -r ff3d704073ad xen/common/trace.c
--- a/xen/common/trace.c        Wed Oct 18 02:00:13 2006
+++ b/xen/common/trace.c        Wed Oct 18 16:57:03 2006
@@ -187,7 +187,7 @@
         tbc->size       = opt_tbuf_size * PAGE_SIZE;
         break;
     case XEN_SYSCTL_TBUFOP_set_cpu_mask:
-        cpumask_to_xenctl_cpumap(&tbc->cpu_mask, &tb_cpu_mask);
+        xenctl_cpumap_to_cpumask(&tb_cpu_mask, &tbc->cpu_mask);
         break;
     case XEN_SYSCTL_TBUFOP_set_evt_mask:
         tb_event_mask = tbc->evt_mask;

Thanks, 
Xiaowei 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Fix set cpu_mask of xentrace, Yang, Xiaowei <=