forked from Minki/linux
10c03f6968
Add the glue for ARM11 SMP oprofile support, which also supports the performance monitor in the coherency unit. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
43 lines
740 B
Plaintext
43 lines
740 B
Plaintext
|
|
menu "Profiling support"
|
|
depends on EXPERIMENTAL
|
|
|
|
config PROFILING
|
|
bool "Profiling support (EXPERIMENTAL)"
|
|
help
|
|
Say Y here to enable the extended profiling support mechanisms used
|
|
by profilers such as OProfile.
|
|
|
|
|
|
config OPROFILE
|
|
tristate "OProfile system profiling (EXPERIMENTAL)"
|
|
depends on PROFILING
|
|
help
|
|
OProfile is a profiling system capable of profiling the
|
|
whole system, include the kernel, kernel modules, libraries,
|
|
and applications.
|
|
|
|
If unsure, say N.
|
|
|
|
if OPROFILE
|
|
|
|
config OPROFILE_ARMV6
|
|
bool
|
|
depends on CPU_V6 && !SMP
|
|
default y
|
|
select OPROFILE_ARM11_CORE
|
|
|
|
config OPROFILE_MPCORE
|
|
bool
|
|
depends on CPU_V6 && SMP
|
|
default y
|
|
select OPROFILE_ARM11_CORE
|
|
|
|
config OPROFILE_ARM11_CORE
|
|
bool
|
|
|
|
endif
|
|
|
|
endmenu
|
|
|