From cef46f6bf07b0d3248fd11f65c58fcfb185b4705 Mon Sep 17 00:00:00 2001 From: jkoshy Date: Wed, 28 Sep 2005 14:19:31 +0000 Subject: Note the requirement for 'device apic' on i386 systems. [1] Consistently use 'x86' when referring to behaviour common to the i386 and amd64. Submitted by: Niklas Sorensson [1] --- share/man/man4/hwpmc.4 | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'share') diff --git a/share/man/man4/hwpmc.4 b/share/man/man4/hwpmc.4 index 211baac..67dc923 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 @@ -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 -- cgit v1.1