Blob Blame History Raw
# $Id: Kconfig,v 1.15 2004/10/10 12:05:42 mikpe Exp $
# Performance-monitoring counters driver configuration
#

menu "Performance-monitoring counters support"

config PERFCTR
	bool "Performance monitoring counters support"
	help
	  This driver provides access to the performance-monitoring counter
	  registers available in some (but not all) modern processors.
	  These special-purpose registers can be programmed to count low-level
	  performance-related events which occur during program execution,
	  such as cache misses, pipeline stalls, etc.

	  You can safely say Y here, even if you intend to run the kernel
	  on a processor without performance-monitoring counters.

	  At <http://www.csd.uu.se/~mikpe/linux/perfctr/> you can find
	  the corresponding user-space components, as well as other
	  versions of this package. A mailing list is also available, at
	  <http://lists.sourceforge.net/lists/listinfo/perfctr-devel>.

config PERFCTR_INIT_TESTS
	bool "Init-time hardware tests"
	depends on PERFCTR
	default n
	help
	  This option makes the driver perform additional hardware tests
	  during initialisation, and log their results in the kernel's
	  message buffer. For most supported processors, these tests simply
	  measure the runtime overheads of performance counter operations.

	  If you have a less well-known processor (one not listed in the
	  etc/costs/ directory in the user-space package), you should enable
	  this option and email the results to the perfctr developers.

	  If unsure, say N.

config PERFCTR_VIRTUAL
	bool "Virtual performance counters support"
	depends on PERFCTR
	default y
	help
	  The processor's performance-monitoring counters are special-purpose
	  global registers. This option adds support for virtual per-process
	  performance-monitoring counters which only run when the process
	  to which they belong is executing. This improves the accuracy of
	  performance measurements by reducing "noise" from other processes.

	  Say Y.

config PERFCTR_INTERRUPT_SUPPORT
	prompt "Performance counter overflow interrupt support" if PPC
	bool
	depends on PERFCTR
	default y if X86_LOCAL_APIC

config PERFCTR_CPUS_FORBIDDEN_MASK
	bool
	depends on PERFCTR
	default y if X86 && SMP

endmenu