From 3419317c321ece920138023e6f6675c8f5dc7c06 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Sat, 30 Jul 2005 09:03:57 +0000 Subject: [PATCH] Document two new diagnostic messages in hwpmc(4). --- share/man/man4/hwpmc.4 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4 index 293ca5443b7f..4b6237f94a9f 100644 --- a/share/man/man4/hwpmc.4 +++ b/share/man/man4/hwpmc.4 @@ -487,6 +487,13 @@ that intend to write values larger than 2^31 into these PMCs with need to be aware of this hardware limitation. .Sh DIAGNOSTICS .Bl -diag +.It "hwpmc: this kernel has not been compiled with 'options HWPMC_HOOKS'." +The module loading process failed because the currently executing kernel +was not configured with the required configuration option +.Cd HWPMC_HOOKS . +.It "hwpmc: kernel version (0x%x) does not match module version (0x%x)." +The module loading process failed because a version mismatch was detected +between the currently executing kernel and the module being loaded. .It "hwpmc: tunable hashsize=%d must be greater than zero." A negative value was supplied for tunable .Va kern.hwpmc.hashsize .