mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -tip] perf_counter: trivial fix on columns alignment
@ 2009-03-25 20:43 Luis Henriques
  0 siblings, 0 replies; only message in thread
From: Luis Henriques @ 2009-03-25 20:43 UTC (permalink / raw)
  To: Ingo Molnar; +Cc: linux-kernel

Corrected columns alignment in /proc/interrupts

Signed-off-by: Luis Henriques <henrix@sapo.pt>
---
 arch/x86/kernel/irq.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 9c27543..5209486 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -63,7 +63,7 @@ static int show_other_interrupts(struct seq_file *p, int prec)
 	for_each_online_cpu(j)
 		seq_printf(p, "%10u ", irq_stats(j)->irq_spurious_count);
 	seq_printf(p, "  Spurious interrupts\n");
-	seq_printf(p, "CNT: ");
+	seq_printf(p, "%*s: ", prec, "CNT");
 	for_each_online_cpu(j)
 		seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs);
 	seq_printf(p, "  Performance counter interrupts\n");
-- 
1.6.2.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-03-25 20:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-25 20:43 [PATCH -tip] perf_counter: trivial fix on columns alignment Luis Henriques

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®