* [PATCH] x86: irq.c rename 'performance counter interrupt'
@ 2009-10-14 10:50 Li Hong
2009-10-14 13:13 ` [tip:x86/urgent] x86, perf_event: Rename " tip-bot for Li Hong
0 siblings, 1 reply; 2+ messages in thread
From: Li Hong @ 2009-10-14 10:50 UTC (permalink / raw)
To: Ingo Molnar, Andrew Morton; +Cc: linux-kernel
In 'cdd6c482c9ff9c55475ee7392ec8f672eddb7be6', Ingo Molnar has renamed
Performance Counters -> Performance Events. The name showed up in
/proc/interrupts also needs a change. I use PMI (Performance monitoring
interrupt) here, since it is the official name used in Intel's documents.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
---
arch/x86/kernel/irq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 3912061..86fb2c8 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -63,10 +63,10 @@ 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, "%*s: ", prec, "CNT");
+ seq_printf(p, "%*s: ", prec, "PMI");
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, " Performance monitoring interrupts\n");
seq_printf(p, "%*s: ", prec, "PND");
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs);
--
1.6.0.4
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip:x86/urgent] x86, perf_event: Rename 'performance counter interrupt'
2009-10-14 10:50 [PATCH] x86: irq.c rename 'performance counter interrupt' Li Hong
@ 2009-10-14 13:13 ` tip-bot for Li Hong
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot for Li Hong @ 2009-10-14 13:13 UTC (permalink / raw)
To: linux-tip-commits
Cc: linux-kernel, paulus, lihong.hi, hpa, mingo, a.p.zijlstra, akpm,
tglx, mingo
Commit-ID: 89ccf465abe6b20d804a63ae20307970c441369d
Gitweb: http://git.kernel.org/tip/89ccf465abe6b20d804a63ae20307970c441369d
Author: Li Hong <lihong.hi@gmail.com>
AuthorDate: Wed, 14 Oct 2009 18:50:39 +0800
Committer: Ingo Molnar <mingo@elte.hu>
CommitDate: Wed, 14 Oct 2009 14:37:24 +0200
x86, perf_event: Rename 'performance counter interrupt'
In 'cdd6c482c9ff9c55475ee7392ec8f672eddb7be6', we renamed
Performance Counters -> Performance Events.
The name showed up in /proc/interrupts also needs a change. I use
PMI (Performance monitoring interrupt) here, since it is the
official name used in Intel's documents.
Signed-off-by: Li Hong <lihong.hi@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <20091014105039.GA22670@uhli>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
---
arch/x86/kernel/irq.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/x86/kernel/irq.c b/arch/x86/kernel/irq.c
index 3912061..86fb2c8 100644
--- a/arch/x86/kernel/irq.c
+++ b/arch/x86/kernel/irq.c
@@ -63,10 +63,10 @@ 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, "%*s: ", prec, "CNT");
+ seq_printf(p, "%*s: ", prec, "PMI");
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, " Performance monitoring interrupts\n");
seq_printf(p, "%*s: ", prec, "PND");
for_each_online_cpu(j)
seq_printf(p, "%10u ", irq_stats(j)->apic_pending_irqs);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-10-14 13:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-14 10:50 [PATCH] x86: irq.c rename 'performance counter interrupt' Li Hong
2009-10-14 13:13 ` [tip:x86/urgent] x86, perf_event: Rename " tip-bot for Li Hong
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