Fix so that ,usr and ,os work correctly with fixed function (IAF)
counters. MFC after: 1 week
This commit is contained in:
parent
4c95ae1b74
commit
03963ef8d1
@ -52,7 +52,8 @@ __FBSDID("$FreeBSD$");
|
||||
#define CORE_CPUID_EDX 0x3
|
||||
|
||||
#define IAF_PMC_CAPS \
|
||||
(PMC_CAP_READ | PMC_CAP_WRITE | PMC_CAP_INTERRUPT)
|
||||
(PMC_CAP_READ | PMC_CAP_WRITE | PMC_CAP_INTERRUPT | \
|
||||
PMC_CAP_USER | PMC_CAP_SYSTEM)
|
||||
#define IAF_RI_TO_MSR(RI) ((RI) + (1 << 30))
|
||||
|
||||
#define IAP_PMC_CAPS (PMC_CAP_INTERRUPT | PMC_CAP_USER | PMC_CAP_SYSTEM | \
|
||||
|
Loading…
Reference in New Issue
Block a user