mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Re-enable sampling on the AMD64.
This commit is contained in:
parent
7ef5ed2bb1
commit
c402059e2e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149527
@ -474,11 +474,6 @@ 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