cvs commit: src/sys/dev/hwpmc hwpmc_mod.c src/sys/kern kern_pmc.c
src/sys/sys pmckern.h
Joseph Koshy
jkoshy at FreeBSD.org
Sat Jul 30 09:02:45 GMT 2005
jkoshy 2005-07-30 09:02:42 UTC
FreeBSD src repository
Modified files:
sys/dev/hwpmc hwpmc_mod.c
sys/kern kern_pmc.c
sys/sys pmckern.h
Log:
Fail the module loading process if the currently executing kernel
was not compiled with 'options HWPMC_HOOKS' or if the compiled-in
version numbers of the kernel and module are out of sync.
Reported by: cracauer
MFC after: 3 days
Revision Changes Path
1.13 +12 -0 src/sys/dev/hwpmc/hwpmc_mod.c
1.5 +14 -7 src/sys/kern/kern_pmc.c
1.5 +3 -0 src/sys/sys/pmckern.h
More information about the cvs-src
mailing list