Date: Sat, 30 Jul 2005 09:02:42 +0000 (UTC) From: Joseph Koshy <jkoshy@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/hwpmc hwpmc_mod.c src/sys/kern kern_pmc.c src/sys/sys pmckern.h Message-ID: <200507300902.j6U92h8D051014@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507300902.j6U92h8D051014>
