* [PATCH -tip] perf_counter: alignment in /proc/interrupts
@ 2009-04-13 19:24 Luis Henriques
2009-04-13 20:18 ` [tip:perfcounters/core] perf_counter: fix " tip-bot for Luis Henriques
0 siblings, 1 reply; 2+ messages in thread
From: Luis Henriques @ 2009-04-13 19:24 UTC (permalink / raw)
To: Ingo Molnar; +Cc: Peter Zijlstra, linux-kernel
Trivial fix on columns alignment in /proc/interrupts file.
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 1ac5921..38287b5 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -66,7 +66,7 @@ static int show_other_interrupts(struct seq_file *p, int prec)
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs);
seq_printf(p, " Performance counter interrupts\n");
- seq_printf(p, "PND: ");
+ seq_printf(p, "%*s: ", prec, "PND");
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs);
seq_printf(p, " Performance pending work\n");
--
1.6.2.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:perfcounters/core] perf_counter: fix alignment in /proc/interrupts
2009-04-13 19:24 [PATCH -tip] perf_counter: alignment in /proc/interrupts Luis Henriques
@ 2009-04-13 20:18 ` tip-bot for Luis Henriques
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Luis Henriques @ 2009-04-13 20:18 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, hpa, mingo, a.p.zijlstra, henrix, tglx, mingo
Commit-ID: 0f3fd87ce43727d6b8573191ce89e874533b1429
Gitweb: http://git.kernel.org/tip/0f3fd87ce43727d6b8573191ce89e874533b1429
Author: Luis Henriques <henrix@sapo.pt>
AuthorDate: Mon, 13 Apr 2009 20:24:50 +0100
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Mon, 13 Apr 2009 22:16:51 +0200
perf_counter: fix alignment in /proc/interrupts
Trivial fix on columns alignment in /proc/interrupts file.
Signed-off-by: Luis Henriques <henrix@sapo.pt>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <20090413192449.GA3920@hades.domain.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
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 dccaaa8..849cfab 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -67,7 +67,7 @@ static int show_other_interrupts(struct seq_file *p, int prec)
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->apic_perf_irqs);
seq_printf(p, " Performance counter interrupts\n");
- seq_printf(p, "PND: ");
+ seq_printf(p, "%*s: ", prec, "PND");
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs);
seq_printf(p, " Performance pending work\n");
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-13 20:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-13 19:24 [PATCH -tip] perf_counter: alignment in /proc/interrupts Luis Henriques
2009-04-13 20:18 ` [tip:perfcounters/core] perf_counter: fix " tip-bot for Luis Henriques
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome