]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC: 232612
authorgnn <gnn@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 2 Apr 2012 20:10:50 +0000 (20:10 +0000)
committergnn <gnn@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 2 Apr 2012 20:10:50 +0000 (20:10 +0000)
commit7864960f1c153a89081bbf04cae0681a64d2ee22
treeb5a37b13bdfec67a53f03e7d8e9af43aa5317648
parent730217510139eb3f1e4b7856d51a6c65e7ac3165
MFC: 232612

Properly mask off bits that are not supported in the IAP counters.
This fixes a bug where users would see massively large counts, near
to 2**64 -1, due to the bits not being cleared.

git-svn-id: svn://svn.freebsd.org/base/stable/9@233810 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hwpmc/hwpmc_core.c