From 25968c47c3ef35243979f84a70d0bf7cc295fdc1 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Sat, 1 Oct 2005 15:52:13 +0000 Subject: [PATCH] MFC r1.11-1.12: - Correct a typo. - Note the requirement for 'device apic' on i386 systems. - Consistently use 'x86' when referring to behaviour common to the i386 and amd64. Approved by: re (hrs) --- share/man/man4/hwpmc.4 | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4 index 9dd5d1cf64b..67dc923c902 100644 --- a/share/man/man4/hwpmc.4 +++ b/share/man/man4/hwpmc.4 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 15, 2005 +.Dd September 28, 2005 .Dt HWPMC 4 .Os .Sh NAME @@ -33,6 +33,9 @@ .Sh SYNOPSIS .Cd "options HWPMC_HOOKS" .Cd "device hwpmc" +.Pp +Additionally, for i386 systems: +.Cd device apic .Sh DESCRIPTION The .Nm @@ -75,7 +78,7 @@ In counting modes, the PMCs count hardware events. These counts are retrievable using the .Dv PMC_OP_PMCREAD system call on all architectures, though some architectures like the -x86 and amd64 offer faster methods of reading these counts. +i386 and amd64 offer faster methods of reading these counts. .It Em Sampling In sampling modes, where PMCs are configured to sample the CPU instruction pointer after a configurable number of hardware events @@ -378,7 +381,7 @@ The default is 16. The size in kilobytes of each log buffer used by .Nm Ns 's logging function. -The default buffers size is 4KB. +The default buffer size is 4KB. .It Va kern.hwpmc.mtxpoolsize Pq integer, read-only The size of the spin mutex pool used by the PMC driver. The default is 32. @@ -446,7 +449,7 @@ via the RDTSC instruction. .Ss SMP Symmetry The kernel driver requires all physical CPUs in an SMP system to have identical performance monitoring counter hardware. -.Ss i386 TSC Handling +.Ss x86 TSC Handling Historically, on the x86 architecture, .Fx has permitted user processes running at a processor CPL of 3 to @@ -734,7 +737,7 @@ On CPUs supporting logical processors, the driver could misbehave if logical processors are subsequently enabled or disabled while the driver is active. .Pp -On x86 architectures, the driver requires that the local APIC on the +On the i386 architecture, the driver requires that the local APIC on the CPU be enabled for sampling mode to be supported. Many single-processor motherboards keep the APIC disabled in BIOS; on such systems -- 2.45.2