Hi Stefane,

Ok, I was able to get the PMD/NMI working on my P6 laptop...And I
noticed some trouble with Perfmon2. Since the NMI took PMD and PMC0, my
enable bit seems to have been stolen. Therefore, even though I could
program PMC1/PMD1 to count, I could not get any counts due to that
enable bit being missing. I always got 0. I'm not sure what the expected
behavior is here...but the library code did the right thing, I just
always got 0. I can send you the logs if you would like.

To test the PAPI support, I hard coded the unavail mask to PMC1/PMD1 and
that worked, adding the counter in the proper place. (Will, this may run
on your AMD64 laptop now...)

Now, in regards to the PFM API:

I noticed that there is a set of calls for implemented counters AND a
set of calls for available counters (using the eventset). Couldn't these
two me merged? From an application standpoint, all we care about is what
we can use...is there ever a reason to check 'impl' when using 'avail'?

Phil


> 
> On Mon, Nov 06, 2006 at 01:01:26PM +0100, Philip J. Mucci wrote:
> > Hi Stefane,
> > 
> > I have not yet been able to find a combo that steals a PMC on my P6
> > laptop for testing the unavail masks. Can you tell me what kernel
> > options I should use? I want to test this before the 3.5 release.
> > 
> Have you tried booting with nmi_watchdog=2
> 

_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to