x86/IRQ: make 'i' debug output more tabular again
diff mbox series

Message ID 9f7c28a1-c503-7df6-c92d-643635ed9950@suse.com
State New
Headers show
Series
  • x86/IRQ: make 'i' debug output more tabular again
Related show

Commit Message

Jan Beulich Sept. 9, 2019, 12:07 p.m. UTC
Since the affinity values are no longer of uniform width, move them
further to the right such that as much of the output as possible comes
out aligned with one another.

Signed-off-by: Jan Beulich <jbeulich@suse.com>

Comments

Andrew Cooper Sept. 9, 2019, 12:36 p.m. UTC | #1
On 09/09/2019 13:07, Jan Beulich wrote:
> Since the affinity values are no longer of uniform width, move them
> further to the right such that as much of the output as possible comes
> out aligned with one another.
>
> Signed-off-by: Jan Beulich <jbeulich@suse.com>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>

Patch
diff mbox series

--- a/xen/arch/x86/irq.c
+++ b/xen/arch/x86/irq.c
@@ -2397,9 +2397,9 @@  static void dump_irqs(unsigned char key)
 
         spin_lock_irqsave(&desc->lock, flags);
 
-        printk("   IRQ:%4d aff:{%*pbl}/{%*pbl} vec:%02x %-15s status=%03x ",
-               irq, CPUMASK_PR(desc->affinity), CPUMASK_PR(desc->arch.cpu_mask),
-               desc->arch.vector, desc->handler->typename, desc->status);
+        printk("   IRQ:%4d vec:%02x %-15s status=%03x aff:{%*pbl}/{%*pbl} ",
+               irq, desc->arch.vector, desc->handler->typename, desc->status,
+               CPUMASK_PR(desc->affinity), CPUMASK_PR(desc->arch.cpu_mask));
 
         if ( ssid )
             printk("Z=%-25s ", ssid);