[perfmon2] libpfm4 ARM support

2010-08-19 Thread Vince Weaver
Hello the below patch implements support for some ARM processors, notably the armv7 Cortex A8 and Cortex A9. The counter event values are very simple, it's just an 8-bit value. No masks of any sort. This implementation skips the user/kernel/hv masks, as there's no way to set those on armv7. I

Re: [perfmon2] [BUG] perf_events: NMI watchdog event cannot be throttled

2010-08-19 Thread Stephane Eranian
On Thu, Aug 19, 2010 at 1:24 PM, Stephane Eranian wrote: > Yeah, that should probably fix it. Let me try it out. > Works for me. Thanks. > > On Thu, Aug 19, 2010 at 1:05 PM, Peter Zijlstra wrote: >> On Wed, 2010-08-18 at 22:26 +0200, Stephane Eranian wrote: >>> Hi, >>> >>> I ran into some issue

Re: [perfmon2] [BUG] perf_events: NMI watchdog event cannot be throttled

2010-08-19 Thread Peter Zijlstra
On Wed, 2010-08-18 at 22:26 +0200, Stephane Eranian wrote: > Hi, > > I ran into some issue with the NMI watchdog not firing in a deadlock > situation. After some debugging I found the source of the problem. > > The NMI watchdog is currently subject, like any other events, to interrupt > throttli

Re: [perfmon2] [BUG] perf_events: NMI watchdog event cannot be throttled

2010-08-19 Thread Stephane Eranian
Yeah, that should probably fix it. Let me try it out. On Thu, Aug 19, 2010 at 1:05 PM, Peter Zijlstra wrote: > On Wed, 2010-08-18 at 22:26 +0200, Stephane Eranian wrote: >> Hi, >> >> I ran into some issue  with the NMI watchdog not firing in a deadlock >> situation. After some debugging I found