CVSROOT:        /cvs
Module name:    src
Changes by:     mlar...@cvs.openbsd.org 2016/04/14 01:00:24

Modified files:
        sys/arch/amd64/amd64: pctr.c 
        sys/arch/i386/i386: pctr.c 

Log message:
Use cpuid function 0xa to determine presence of general purpose
architectural performance counters, instead of cpu family/model values.

Fixes a panic seen on some hypervisors when pctr(1) is used when the
hypervisor masks out the counters.

Reported by Hiltjo Posthuma, thanks.

ok mikeb@, guenther@

Reply via email to