Blame src/perfctr-2.6.x/linux/drivers/perfctr/Kconfig

Packit 577717
# $Id: Kconfig,v 1.7.2.2 2004/11/13 16:32:05 mikpe Exp $
Packit 577717
# Performance-monitoring counters driver configuration
Packit 577717
#
Packit 577717
Packit 577717
menu "Performance-monitoring counters support"
Packit 577717
Packit 577717
config PERFCTR
Packit 577717
	tristate "Performance monitoring counters support"
Packit 577717
	help
Packit 577717
	  This driver provides access to the performance-monitoring counter
Packit 577717
	  registers available in some (but not all) modern processors.
Packit 577717
	  These special-purpose registers can be programmed to count low-level
Packit 577717
	  performance-related events which occur during program execution,
Packit 577717
	  such as cache misses, pipeline stalls, etc.
Packit 577717
Packit 577717
	  You can safely say Y here, even if you intend to run the kernel
Packit 577717
	  on a processor without performance-monitoring counters.
Packit 577717
Packit 577717
	  You can also say M here to compile the driver as a module; the
Packit 577717
	  module will be called `perfctr'.
Packit 577717
Packit 577717
config KPERFCTR
Packit 577717
	bool
Packit 577717
	depends on PERFCTR
Packit 577717
	default y
Packit 577717
Packit 577717
config PERFCTR_DEBUG
Packit 577717
	bool "Additional internal consistency checks"
Packit 577717
	depends on PERFCTR
Packit 577717
	help
Packit 577717
	  This option enables additional internal consistency checking in
Packit 577717
	  the perfctr driver. The scope of these checks is unspecified and
Packit 577717
	  may vary between different versions of the driver.
Packit 577717
Packit 577717
	  Enabling this option will reduce performance, so say N unless you
Packit 577717
	  are debugging the driver.
Packit 577717
Packit 577717
config PERFCTR_INIT_TESTS
Packit 577717
	bool "Init-time hardware tests"
Packit 577717
	depends on PERFCTR
Packit 577717
	help
Packit 577717
	  This option makes the driver perform additional hardware tests
Packit 577717
	  during initialisation, and log their results in the kernel's
Packit 577717
	  message buffer. For most supported processors, these tests simply
Packit 577717
	  measure the runtime overheads of performance counter operations.
Packit 577717
Packit 577717
	  If you have a less well-known processor (one not listed in the
Packit 577717
	  etc/costs/ directory in the user-space package), you should enable
Packit 577717
	  this option and email the results to the perfctr developers.
Packit 577717
Packit 577717
	  If unsure, say N.
Packit 577717
Packit 577717
config PERFCTR_VIRTUAL
Packit 577717
	bool "Virtual performance counters support"
Packit 577717
	depends on PERFCTR
Packit 577717
	help
Packit 577717
	  The processor's performance-monitoring counters are special-purpose
Packit 577717
	  global registers. This option adds support for virtual per-process
Packit 577717
	  performance-monitoring counters which only run when the process
Packit 577717
	  to which they belong is executing. This improves the accuracy of
Packit 577717
	  performance measurements by reducing "noise" from other processes.
Packit 577717
Packit 577717
	  Say Y.
Packit 577717
Packit 577717
config PERFCTR_GLOBAL
Packit 577717
	bool "Global performance counters support"
Packit 577717
	depends on PERFCTR
Packit 577717
	help
Packit 577717
	  This option adds driver support for global-mode (system-wide)
Packit 577717
	  performance-monitoring counters. In this mode, the driver allows
Packit 577717
	  each performance-monitoring counter on each processor to be
Packit 577717
	  controlled and read. The driver provides a sampling timer to
Packit 577717
	  maintain 64-bit accumulated event counts.
Packit 577717
Packit 577717
	  Global-mode performance counters cannot be used if some process
Packit 577717
	  is currently using virtual-mode performance counters, and vice versa.
Packit 577717
Packit 577717
	  Say Y.
Packit 577717
Packit 577717
config PERFCTR_INTERRUPT_SUPPORT
Packit 577717
	prompt "Performance counter overflow interrupt support" if PPC
Packit 577717
	bool
Packit 577717
	depends on PERFCTR
Packit 577717
	default y if X86_LOCAL_APIC
Packit 577717
Packit 577717
config PERFCTR_CPUS_FORBIDDEN_MASK
Packit 577717
	bool
Packit 577717
	depends on PERFCTR
Packit 577717
	default y if X86 && SMP
Packit 577717
Packit 577717
endmenu