On Wed, 2010-02-10 at 17:07 +0100, Stephane Eranian wrote: > > static inline int amd_is_nb_event(struct hw_perf_event *hwc) > { > return (hwc->config >> 5) & 0x7 == 0x7; > }
return (hwc->config & 0xe0) == 0xe0; Changed it, thanks guys! ------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev _______________________________________________ perfmon2-devel mailing list perfmon2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/perfmon2-devel