cvs commit: src/sys/dev/hwpmc hwpmc_mod.c hwpmc_x86.c
Joseph Koshy
jkoshy at FreeBSD.org
Fri Aug 26 19:49:40 GMT 2005
jkoshy 2005-08-26 19:49:32 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_6)
sys/dev/hwpmc hwpmc_mod.c hwpmc_x86.c
Log:
MFC:
[ hwpmc_mod.c:1.14,1.15 ]
- Print PMC capabilities at module load time.
- Return EOPNOTSUPP instead of EINVAL if a PMC allocation request
specifies a PMC capability (e.g., sampling) that is not supported
by hardware. Return EINVAL early if the PMC class passed in is
not recognized.
[ hwpmc_x86.c:1.3 ]
- On x86 processors, turn off 'INTERRUPT' capabilities on PMCs
if the CPU does not have its local APIC enabled.
Approved by: re (scottl)
Revision Changes Path
1.10.2.4 +24 -4 src/sys/dev/hwpmc/hwpmc_mod.c
1.2.2.1 +13 -3 src/sys/dev/hwpmc/hwpmc_x86.c
More information about the cvs-src
mailing list