Re: [PATCH] perfcounters: IRQ and NMI support on AMD CPUs

From: Jaswinder Singh Rajput
Date: Thu Mar 05 2009 - 14:38:17 EST


On Thu, 2009-03-05 at 20:07 +0100, Peter Zijlstra wrote:
> On Fri, 2009-03-06 at 00:26 +0530, Jaswinder Singh Rajput wrote:
> >
> > With fresh copy, perfstat is working.
> >
> > But kerneltop is still not working and I am not getting any NMI Interrupts.
>
> What does your dmegs look like?
>
> Mine read like:
>
> [ 0.012002] AMD Performance Monitoring support detected.
> [ 0.013002] ... num counters: 4
> [ 0.014001] ... value mask: 0000ffffffffffff
> [ 0.015001] ... fixed counters: 0
> [ 0.016001] ... counter mask: 000000000000000f
>

[ 0.010998] AMD Performance Monitoring support detected.
[ 0.011006] ... num counters: 4
[ 0.011301] ... value mask: 0000000000000086
[ 0.011581] ... fixed counters: 0
[ 0.011808] ... counter mask: 000000000000000f
[ 0.011998] ACPI: Core revision 20081204

> and its generating IRQs:
>
> CNT: 168612 166040 Performance counter interrupts
>

NMI: 0 0 Non-maskable interrupts
LOC: 213 980394 Local timer interrupts
CNT: 0 0 Performance counter interrupts
RES: 125349 123542 Rescheduling interrupts

--
JSR

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/