Phil, Will,

I took another look at your problem. There was indeed a serious
bug in libpfm.

In fact two bugs:
        - the way we sized pfmlib_regmask_t was bogus (ended up being 4 bytes 
instead of 40)
        - the kernel pmcs bitmask is bigger than that of libpfm causing buffer 
overruns in
          detect_unavail_pmcs()

I think the second bug explained the corruption you were seing.

I have updated CVS, just pull from it and the problem should go away.
As I anticipated, there were no compiler issues.

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

Reply via email to