... in ''i'' debug key output. Signed-off-by: Jan Beulich <jbeulich@suse.com> --- a/xen/arch/x86/irq.c +++ b/xen/arch/x86/irq.c @@ -17,6 +17,7 @@ #include <xen/compat.h> #include <xen/iocap.h> #include <xen/iommu.h> +#include <xen/symbols.h> #include <xen/trace.h> #include <xsm/xsm.h> #include <asm/msi.h> @@ -2267,9 +2268,7 @@ static void dump_irqs(unsigned char key) if ( ssid ) printk("Z=%-25s ", ssid); - if ( !(desc->status & IRQ_GUEST) ) - printk("mapped, unbound\n"); - else + if ( desc->status & IRQ_GUEST ) { action = (irq_guest_action_t *)desc->action; @@ -2297,6 +2296,10 @@ static void dump_irqs(unsigned char key) printk("\n"); } + else if ( desc->action ) + print_symbol("%s\n", (unsigned long)desc->action->handler); + else + printk("mapped, unbound\n"); spin_unlock_irqrestore(&desc->lock, flags); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Keir Fraser
2013-Apr-10 16:18 UTC
Re: [PATCH] x86: show handler for Xen-internal interrupts
On 10/04/2013 16:33, "Jan Beulich" <JBeulich@suse.com> wrote:> ... in ''i'' debug key output. > > Signed-off-by: Jan Beulich <jbeulich@suse.com>Acked-by: Keir Fraser <keir@xen.org>> --- a/xen/arch/x86/irq.c > +++ b/xen/arch/x86/irq.c > @@ -17,6 +17,7 @@ > #include <xen/compat.h> > #include <xen/iocap.h> > #include <xen/iommu.h> > +#include <xen/symbols.h> > #include <xen/trace.h> > #include <xsm/xsm.h> > #include <asm/msi.h> > @@ -2267,9 +2268,7 @@ static void dump_irqs(unsigned char key) > if ( ssid ) > printk("Z=%-25s ", ssid); > > - if ( !(desc->status & IRQ_GUEST) ) > - printk("mapped, unbound\n"); > - else > + if ( desc->status & IRQ_GUEST ) > { > action = (irq_guest_action_t *)desc->action; > > @@ -2297,6 +2296,10 @@ static void dump_irqs(unsigned char key) > > printk("\n"); > } > + else if ( desc->action ) > + print_symbol("%s\n", (unsigned long)desc->action->handler); > + else > + printk("mapped, unbound\n"); > > spin_unlock_irqrestore(&desc->lock, flags); > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > http://lists.xen.org/xen-devel