|
Packit |
577717 |
# $Id: Kconfig,v 1.15 2004/10/10 12:05:42 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 |
bool "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 |
At <http://www.csd.uu.se/~mikpe/linux/perfctr/> you can find
|
|
Packit |
577717 |
the corresponding user-space components, as well as other
|
|
Packit |
577717 |
versions of this package. A mailing list is also available, at
|
|
Packit |
577717 |
<http://lists.sourceforge.net/lists/listinfo/perfctr-devel>.
|
|
Packit |
577717 |
|
|
Packit |
577717 |
config PERFCTR_INIT_TESTS
|
|
Packit |
577717 |
bool "Init-time hardware tests"
|
|
Packit |
577717 |
depends on PERFCTR
|
|
Packit |
577717 |
default n
|
|
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 |
default y
|
|
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_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
|