mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-25 18:12:57 +01:00
Turn off sampling modes on the AMD64 till the time I can track down
the reason for the double fault seen when sampling under load. MFC after: 3 days
This commit is contained in:
parent
fa949fc86d
commit
d4d6be499f
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149360
@ -474,6 +474,11 @@ amd_allocate_pmc(int cpu, int ri, struct pmc *pm,
|
||||
return 0;
|
||||
}
|
||||
|
||||
#if __amd64__
|
||||
if (pd->pd_caps & PMC_CAP_INTERRUPT)
|
||||
return EOPNOTSUPP; /* XXX avoid a processor double fault */
|
||||
#endif
|
||||
|
||||
#if DEBUG
|
||||
KASSERT(pd->pd_class == amd_pmc_class,
|
||||
("[amd,%d] Unknown PMC class (%d)", __LINE__, pd->pd_class));
|
||||
|
Loading…
Reference in New Issue
Block a user