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] dump full vCPU polling mask from 'e' key handler

To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] dump full vCPU polling mask from 'e' key handler
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: Thu, 11 Feb 2010 10:00:03 +0000
Delivery-date: Thu, 11 Feb 2010 02:02:12 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>

--- 2010-02-09.orig/xen/common/event_channel.c  2010-01-13 18:58:11.000000000 
+0100
+++ 2010-02-09/xen/common/event_channel.c       2010-02-11 10:31:38.000000000 
+0100
@@ -1066,9 +1066,11 @@ void evtchn_destroy_final(struct domain 
 
 static void domain_dump_evtchn_info(struct domain *d)
 {
+    static char buffer[MAX_VIRT_CPUS/4 + MAX_VIRT_CPUS/32 + 3];
     unsigned int port;
 
-    printk("Domain %d polling vCPUs: %08lx\n", d->domain_id, d->poll_mask[0]);
+    bitmap_scnprintf(buffer, ARRAY_SIZE(buffer), d->poll_mask, d->max_vcpus);
+    printk("Domain %d polling vCPUs: %s\n", d->domain_id, buffer);
 
     if ( !spin_trylock(&d->event_lock) )
         return;



Attachment: dump-full-poll-mask.patch
Description: Text document

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] dump full vCPU polling mask from 'e' key handler, Jan Beulich <=