hwpmc on Intel Core architectures fixed counters patch

George Neville-Neil gnn at neville-neil.com
Mon Jul 12 20:13:35 UTC 2010


Howdy,

If anyone is using hwpmc on core architectures, i.e. Core, Core2, Nehalem, Westmere, can you
please test the following patch which fixes occasional panics of this code on those 
processors?  The specific bug address comes when sampling the IAF (Fixed Function) counters
which are: 

IAF
        INSTR_RETIRED_ANY
        CPU_CLK_UNHALTED_CORE
        CPU_CLK_UNHALTED_REF

I plan to commit this to HEAD this week.  I have tested it on HEAD and 7.X.



Thanks,
George


-------------- next part --------------
A non-text attachment was scrubbed...
Name: head-iaf-wrmsr.patch
Type: application/octet-stream
Size: 6563 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100712/f4249b4f/head-iaf-wrmsr.obj


More information about the freebsd-current mailing list