lkml.org 
[lkml]   [2010]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [perfmon2] [PATCH] perf_events: AMD event scheduling (v3)
From
Date
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!



\
 
 \ /
  Last update: 2010-02-10 17:19    [from the cache]
©2003-2011 Jasper Spaans